Enum slog::Level [] [src]

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

Logging level

Variants

CriticalErrorWarningInfoDebugTrace

Methods

impl Level
[src]

fn as_str(&self) -> &'static str

fn as_int(&self) -> i32

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.