initialize_logger

Function initialize_logger 

Source
pub(crate) fn initialize_logger(cfg: LoggerConfig) -> Result<(), Error>
Expand description

Initialize the logger as specified in cfg

By default the logger is configured to log to stdout. If a log4rs configuration file is given in cfg, the configuration from that file will be used instead