You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: logging.rs
    path of file: ./repos/burn/xtask/src
    
    the code of the file until where you have to start completion: use std::io::Write;

/// Initialise and create a `env_logger::Builder` which follows the
/// GitHub Actions logging syntax when running on CI.
pub(crate) fn init_logger() -> env_logger::Builder {
    let mut builder = env_logger::Builder::from_default_env();
    builder.target(env_logger::Target::Stdout);

    // Find and setup t
    
fn get_log_level() -> log::LevelFilter {
    // DEBUG
    match std::env::var("DEBUG") {
        Ok(_value) => return log::LevelFilter::Debug,
        Err(_err) => (),
    }
    // ACTIONS_RUNNER_DEBUG
    match std::env::var("ACTIONS_RUNNER_DEBUG") {
        Ok(_value) => return log::LevelFilter::Debug,
        Err(_err) => (),
    };

    log::LevelFilter::Info
}