Skip to main content

init_logging

Function init_logging 

Source
pub fn init_logging(args: &BaseArgs)
Expand description

Starts logging to stderr in the log.c format, at DEBUG with --debug and at ERROR otherwise.

ยงPanics

Panics if a global logger is already installed, so call it once per process.