Function log4rs::config::init_raw_config
source · pub fn init_raw_config(config: RawConfig) -> Result<(), InitError>
Expand description
Initializes the global logger as a log4rs logger using the provided raw config.
This will return errors if the appenders configuration is malformed or if we fail to set the global logger.