diff options
Diffstat (limited to 'src/librustc_driver/lib.rs')
| -rw-r--r-- | src/librustc_driver/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustc_driver/lib.rs b/src/librustc_driver/lib.rs index cc954cee907..0897bb6bd5a 100644 --- a/src/librustc_driver/lib.rs +++ b/src/librustc_driver/lib.rs @@ -9,7 +9,7 @@ #![recursion_limit = "256"] #[macro_use] -extern crate log; +extern crate tracing; #[macro_use] extern crate lazy_static; @@ -1224,13 +1224,13 @@ pub fn install_ice_hook() { } /// This allows tools to enable rust logging without having to magically match rustc's -/// log crate version. +/// tracing crate version. pub fn init_rustc_env_logger() { init_env_logger("RUSTC_LOG") } /// This allows tools to enable rust logging without having to magically match rustc's -/// log crate version. In contrast to `init_rustc_env_logger` it allows you to choose an env var +/// tracing crate version. In contrast to `init_rustc_env_logger` it allows you to choose an env var /// other than `RUSTC_LOG`. pub fn init_env_logger(env: &str) { // Don't register a dispatcher if there's no filter to print anything |
