Function dzahui::logger::spawn

source ·
pub fn spawn(
    log_level: LevelFilter,
    prefix: &'static str
) -> Result<(), SetLoggerError>
Expand description

General Information

Spawns a boxed logger Must only be called once.

Parameters

  • log_level - Which level of logging to use
  • prefix - Id of logger