Enum simplelog::LogLevel [] [src]

pub enum LogLevel {
    Error,
    Warn,
    Info,
    Debug,
    Trace,
}

An enum representing the available verbosity levels of the logging framework

A LogLevel may be compared directly to a LogLevelFilter.

Variants

The "error" level.

Designates very serious errors.

The "warn" level.

Designates hazardous situations.

The "info" level.

Designates useful information.

The "debug" level.

Designates lower priority information.

The "trace" level.

Designates very low priority, often extremely verbose, information.

Methods

impl LogLevel

Returns the most verbose logging level.

Converts the LogLevel to the equivalent LogLevelFilter.

Trait Implementations

impl PartialEq<LogLevel> for LogLevel

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl PartialEq<LogLevelFilter> for LogLevel

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl FromStr for LogLevel

impl Display for LogLevel

Formats the value using the given formatter.

impl Copy for LogLevel

impl Clone for LogLevel

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for LogLevel

Formats the value using the given formatter.

impl PartialOrd<LogLevel> for LogLevel

impl PartialOrd<LogLevelFilter> for LogLevel

impl Eq for LogLevel

impl Ord for LogLevel