LogLevelModifier

Trait LogLevelModifier 

Source
pub trait LogLevelModifier: 'static {
    const LEVEL: Level;
}
Expand description

Modifier for the Log and LogSimply Failures.

This let you control the level of logging for errors emitted by a specific system.

Required Associated Constants§

Source

const LEVEL: Level

The log level.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl LogLevelModifier for Debug

Source§

const LEVEL: Level = Level::DEBUG

Source§

impl LogLevelModifier for Error

Source§

const LEVEL: Level = Level::ERROR

Source§

impl LogLevelModifier for Info

Source§

const LEVEL: Level = Level::INFO

Source§

impl LogLevelModifier for Trace

Source§

const LEVEL: Level = Level::TRACE

Source§

impl LogLevelModifier for Warn

Source§

const LEVEL: Level = Level::WARN