Enum bunyan::NamedLogLevel
source · #[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§
source§impl Clone for NamedLogLevel
impl Clone for NamedLogLevel
source§fn clone(&self) -> NamedLogLevel
fn clone(&self) -> NamedLogLevel
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more