Macro mt_logger::mt_level[][src]

macro_rules! mt_level {
    ($output_level : expr) => { ... };
}
Expand description

Sets the minimum logging level to the specified Level.

Examples

Log all messages at Debug-level or higher.

mt_level!(Level::Debug);

Log all messages at Fatal-level or higher, i.e., only log Fatal-level messages.

mt_level!(Level::Fatal);