Enum flexi_logger::Level [] [src]

#[repr(usize)]
pub enum Level { Error, Warn, Info, Debug, Trace, }

An enum representing the available verbosity levels of the logger.

Typical usage includes: checking if a certain Level is enabled with log_enabled!, specifying the Level of log!, and comparing a Level directly to a LevelFilter.

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 Level
[src]

[src]

Returns the most verbose logging level.

[src]

Converts the Level to the equivalent LevelFilter.

Trait Implementations

impl Ord for Level
[src]

[src]

impl Copy for Level
[src]

impl Hash for Level
[src]

[src]

impl Clone for Level
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for Level
[src]

impl PartialEq<Level> for Level
[src]

[src]

impl PartialEq<LevelFilter> for Level
[src]

[src]

impl FromStr for Level
[src]

impl Debug for Level
[src]

[src]

Formats the value using the given formatter.

impl Display for Level
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialOrd<Level> for Level
[src]

[src]

impl PartialOrd<LevelFilter> for Level
[src]