Enum bunyan::NamedLogLevel [−][src]
#[repr(u8)]
pub enum NamedLogLevel {
Fatal,
Error,
Warn,
Info,
Debug,
Trace,
}
Expand description
Canonical interpretation of different log levels.
Although arbitrary integer values are accepted as log levels (see LogLevel
) the usage of
named log levels is preferred.
Variants
Fatal
The service/app is going to stop or become unusable now. An operator should definitely look into this soon.
Error
Fatal for a particular request, but the service/app continues servicing other requests. An operator should look at this soon(ish).
Warn
A note on something that should probably be looked at by an operator eventually.
Info
Detail on regular operation.
Debug
Anything else, i.e. too verbose to be included in “info” level.
Trace
Logging from external libraries used by your app or very detailed application logging.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NamedLogLevel
impl Send for NamedLogLevel
impl Sync for NamedLogLevel
impl Unpin for NamedLogLevel
impl UnwindSafe for NamedLogLevel
Blanket Implementations
Mutably borrows from an owned value. Read more