[][src]Enum bunyan::NamedLogLevel

#[repr(u8)]pub enum NamedLogLevel {
    Fatal,
    Error,
    Warn,
    Info,
    Debug,
    Trace,
}

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

impl Clone for NamedLogLevel[src]

impl Copy for NamedLogLevel[src]

impl Debug for NamedLogLevel[src]

impl FromStr for NamedLogLevel[src]

type Err = Error

The associated error which can be returned from parsing.

impl PartialEq<NamedLogLevel> for NamedLogLevel[src]

impl StructuralPartialEq for NamedLogLevel[src]

impl TryFrom<u8> for NamedLogLevel[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.