pub fn init_logger_custom(
max_log_level_filter: i8,
) -> Result<(), SetLoggerError>
Expand description
Made this get an integer so that you don’t have to import the Log library in your code too, as the LevelFilter enum is inside it. 0 -> Off, 1 -> Trace, 2 -> Debug, 3 -> Info, 4 -> Warn, 5 -> Error