Function rustc_driver_impl::init_env_logger
source · pub fn init_env_logger(handler: &EarlyErrorHandler, env: &str)
Expand description
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
.