[−][src]Function rustc_driver::init_env_logger

pub fn init_env_logger(env: &str)

This allows tools to enable rust logging without having to magically match rustc's tracing crate version. In contrast to init_rustc_env_logger it allows you to choose an env var other than RUSTC_LOG.