Skip to main content

init_logger

Function init_logger 

Source
pub fn init_logger()
Expand description

Initialize the logger with the default filter.

Reads the log level from the RUST_LOG environment variable. If not set, defaults to info level.

ยงPanics

Panics if the logger has already been initialized.