Function log4rs::init_config
source · [−]pub fn init_config(config: Config) -> Result<Handle, SetLoggerError>
Expand description
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.