simple_logger

Function init_with_level

source
pub fn init_with_level(level: Level) -> Result<(), SetLoggerError>
Expand description

Initialise the logger with a specific log level.

Log messages below the given Level will be filtered. The RUST_LOG environment variable is not used.