/// Build & initialize a global logger using env_logger::Builder.
/// As with Builder::init(), this will panic if called more than once,
/// or if another library has already initialized a global logger.
Build & initialize a global logger using env_logger::Builder.
As with Builder::init(), this will panic if called more than once,
or if another library has already initialized a global logger.
Build & initialize a global logger using env_logger :: Builder . As with Builder :: init () this will panic if called more than once or if another library has already initialized a global logger .
pub fn init_logger(&self) {
        let mut builder = env_logger::Builder::new();
        builder
            .filter_level(self.verbosity_level())
            .parse_filters(self.log_filter.as_ref().unwrap_or(&"".to_owned()))
            .target(self.log_target.into())
            .init();
    }
pub fn init_logger ( & self ) { let mut builder = env_logger :: Builder :: new ( ) ; builder . filter_level ( self . verbosity_level ( ) ) . parse_filters ( self . log_filter . as_ref ( ) . unwrap_or ( & " " . to_owned ( ) ) ) . target ( self . log_target . into ( ) ) . init ( ) ; }
Build & initialize a global logger using env_logger::Builder.
Build & initialize a global logger using env_logger :: Builder .
&self