#[derive(Clone, Debug, thiserror::Error)]
#[non_exhaustive]
pub enum Error {
#[error("Cannot enable unsafe logging: safe logging is already enforced")]
AlreadySafe,
#[error("Cannot enforce safe logging: unsafe logging is already enabled")]
AlreadyUnsafe,
#[error("Too many calls to enforce or disable safe logging")]
Overflow,
}