pub fn init(level: LevelFilter) -> Result<(), SetLoggerError> {
  log::set_logger(&LOGGER).unwrap();
  log::set_max_level(level);
  Ok(())
}
/// Initialize the logger with an appropriate level of verbosity
Initialize the logger with an appropriate level of verbosity
Initialize the logger with an appropriate level of verbosity
pub fn init(level: LevelFilter) -> Result<(), SetLoggerError> {
  log::set_logger(&LOGGER).unwrap();
  log::set_max_level(level);
  Ok(())
}
pub fn init ( level : LevelFilter ) -> Result < ( ) , SetLoggerError > { log :: set_logger ( & LOGGER ) . unwrap ( ) ; log :: set_max_level ( level ) ; Ok ( ( ) ) }
Initialize the logger with an appropriate level of verbosity
Initialize the logger with an appropriate level of verbosity
level
LevelFilter
level
LevelFilter