#How to enable tracing for compiler?

1 messages · Page 1 of 1 (latest)

mild cairn
#

I see this block in compiler-cli/src/main.rs

fn initialise_logger() {
    let enable_colours = std::env::var("GLEAM_LOG_NOCOLOUR").is_err();
    tracing_subscriber::fmt()
        .with_writer(std::io::stderr)
        .with_env_filter(std::env::var("GLEAM_LOG").unwrap_or_else(|_| "off".to_string()))
        .with_target(false)
        .with_ansi(enable_colours)
        .without_time()
        .init();
}

and I fail to produce any effect by setting any of these variables

quartz burrow
#

You run it like that?

crimson breach
#

export GLEAM_LOG=debug

#

Or info, trace, etc