fn try_init_logger_at_level_info() -> Result<(), log::SetLoggerError> {
        // Use ::new() to configure the logger manually, instead of using the
        // default of reading the RUST_LOG environment variable. Set is_test to
        // print to stdout captured by the test runner, instead of polluting the
        // test runner output.
        let module_limit = None;
        env_logger::Builder::new()
            .filter(module_limit, log::LevelFilter::Info)
            .is_test(true)
            .try_init()
    }
/// Try to initialize the logger with a filter level of INFO.
///
/// Incrementing a counter only happens if the logger is configured for the
/// given log level, so the tests need an INFO logger to pass.
Try to initialize the logger with a filter level of INFO.
Incrementing a counter only happens if the logger is configured for the
given log level, so the tests need an INFO logger to pass.
Try to initialize the logger with a filter level of INFO . Incrementing a counter only happens if the logger is configured for the given log level so the tests need an INFO logger to pass .
fn try_init_logger_at_level_info() -> Result<(), log::SetLoggerError> {
        // Use ::new() to configure the logger manually, instead of using the
        // default of reading the RUST_LOG environment variable. Set is_test to
        // print to stdout captured by the test runner, instead of polluting the
        // test runner output.
        let module_limit = None;
        env_logger::Builder::new()
            .filter(module_limit, log::LevelFilter::Info)
            .is_test(true)
            .try_init()
    }
fn try_init_logger_at_level_info ( ) -> Result < ( ) , log :: SetLoggerError > { // Use ::new() to configure the logger manually, instead of using the // default of reading the RUST_LOG environment variable. Set is_test to // print to stdout captured by the test runner, instead of polluting the // test runner output. let module_limit = None ; env_logger :: Builder :: new ( ) . filter ( module_limit , log :: LevelFilter :: Info ) . is_test ( true ) . try_init ( ) }
Try to initialize the logger with a filter level of INFO.
Try to initialize the logger with a filter level of INFO .