Function log4rs::config::init_config_with_err_handler
source · pub fn init_config_with_err_handler(
config: Config,
err_handler: Box<dyn Send + Sync + Fn(&Error)>
) -> Result<Handle, SetLoggerError>
Expand description
Initializes the global logger as a log4rs logger with the provided config and error handler.
A Handle
object is returned which can be used to adjust the logging
configuration.