setup_logger

Function setup_logger 

Source
pub fn setup_logger(
    outfile: Option<&str>,
    level: Option<LevelFilter>,
    extra_levels: Option<HashMap<&str, LevelFilter>>,
) -> Result<()>
Expand description

Configures the logger format. If outfile is none, no log file will be written