Trait SetLogWithDefault

Source
pub trait SetLogWithDefault: GetWithDefault {
    // Required method
    fn set_with_default(&self, default: LevelFilter);
}
Expand description

This trait is designed to provide a way to set the log level, when the option or the flag doesn’t have a default level and the simplelog feature is eanbled

Required Methods§

Source

fn set_with_default(&self, default: LevelFilter)

This function can be used to set the loglevel if the feature simplelog is enabled

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§