Enum flexi_logger::LogLevelFilter [] [src]

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

An enum representing the available verbosity level filters of the logging framework.

A LogLevelFilter may be compared directly to a LogLevel. Use this type to get() and set() the MaxLogLevelFilter, or to match with the getter max_log_level().

Variants

A level lower than all log levels.

Corresponds to the Error log level.

Corresponds to the Warn log level.

Corresponds to the Info log level.

Corresponds to the Debug log level.

Corresponds to the Trace log level.

Methods

impl LogLevelFilter
[src]

Returns the most verbose logging level filter.

Converts self to the equivalent LogLevel.

Returns None if self is LogLevelFilter::Off.

Trait Implementations

impl Debug for LogLevelFilter
[src]

Formats the value using the given formatter.

impl Hash for LogLevelFilter
[src]

impl Copy for LogLevelFilter
[src]

impl Display for LogLevelFilter
[src]

Formats the value using the given formatter. Read more

impl PartialOrd<LogLevelFilter> for LogLevelFilter
[src]

impl PartialOrd<LogLevel> for LogLevelFilter
[src]

impl Ord for LogLevelFilter
[src]

impl FromStr for LogLevelFilter
[src]

impl Clone for LogLevelFilter
[src]

impl Eq for LogLevelFilter
[src]

impl PartialEq<LogLevelFilter> for LogLevelFilter
[src]

impl PartialEq<LogLevel> for LogLevelFilter
[src]