Function log4rs::init_config [] [src]

pub fn init_config(config: Config) -> Result<Handle, SetLoggerError>

Initializes the global logger as a log4rs logger with the provided config.

A Handle object is returned which can be used to adjust the logging configuration.