[][src]Function dumb_logger::init_with_level

pub fn init_with_level(level: Level)

Initialize logging with a specified max log level.

For example, if you only want Info and Error messages to be printed:

dumb_logger::init_with_level(log::Level::Info);