Function fern::init_global_logger [] [src]

pub fn init_global_logger<L: IntoLog>(config: L, global_log_level: LogLevelFilter) -> Result<()InitError>

Initializes the global logger of the log crate with the specified log configuration. This will return an InitError(log::SetLoggerError) if the global logger has already been initialized.