pub fn load(config: Config, builders: LoggerBuilders) -> Result<(), Error> {
        let (root, loggers) = config::create_loggers(config, builders)?;
        let result = Self::new(
            LoggerTree::new(root, loggers),
            Box::new(default_error_handler),
        );
        log::set_boxed_logger(Box::new(result))?;
        log::set_max_level(LevelFilter::Trace);
        Ok(())
    }
/// Load the Config via the Config the object
Load the Config via the Config the object
Load the Config via the Config the object
pub fn load(config: Config, builders: LoggerBuilders) -> Result<(), Error> {
        let (root, loggers) = config::create_loggers(config, builders)?;
        let result = Self::new(
            LoggerTree::new(root, loggers),
            Box::new(default_error_handler),
        );
        log::set_boxed_logger(Box::new(result))?;
        log::set_max_level(LevelFilter::Trace);
        Ok(())
    }
pub fn load ( config : Config , builders : LoggerBuilders ) -> Result < ( ) , Error > { let ( root , loggers ) = config :: create_loggers ( config , builders ) ? ; let result = Self :: new ( LoggerTree :: new ( root , loggers ) , Box :: new ( default_error_handler ) , ) ; log :: set_boxed_logger ( Box :: new ( result ) ) ? ; log :: set_max_level ( LevelFilter :: Trace ) ; Ok ( ( ) ) }
Load the Config via the Config the object
Load the Config via the Config the object
config
Config
builders
LoggerBuilders
config
Config
builders
LoggerBuilders