Function mowl::init_with_level_and_without_colors
[−]
[src]
pub fn init_with_level_and_without_colors(log_level: LogLevel) -> Result<()>
Initializes the global logger with a specific max_log_level
and
without any coloring.
mowl::init_with_level_and_without_colors(log::LogLevel::Warn).unwrap(); warn!("A warning"); info!("A info message");