Enum slog::Level [] [src]

pub enum Level {
    Critical,
    Error,
    Warning,
    Info,
    Debug,
    Trace,
}

Logging level

Variants

Critical

Critical

Error

Error

Warning

Warning

Info

Info

Debug

Debug

Trace

Trace

Methods

impl Level
[src]

fn as_int(&self) -> i32

Cast Level to ordering integer, where Critical is 0, and Trace is 5

Trait Implementations

impl Debug for Level
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Level
[src]

fn clone(&self) -> Level

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for Level
[src]

impl Display for Level
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.