about summary refs log tree commit diff
path: root/src/librustc_driver/lib.rs
diff options
context:
space:
mode:
authorGurpreet Singh <gdhuper@gmail.com>2020-08-13 23:05:01 -0700
committerGurpreet Singh <gdhuper@gmail.com>2020-08-15 13:03:11 -0700
commitd2753f91b5e09a91841fa729ef6b14d7ef249e8a (patch)
treebaac32eea45ab00677d9adb8e7eec899a9971def /src/librustc_driver/lib.rs
parent5addb135edc2653b07670482a430aac9b655a86b (diff)
downloadrust-d2753f91b5e09a91841fa729ef6b14d7ef249e8a.tar.gz
rust-d2753f91b5e09a91841fa729ef6b14d7ef249e8a.zip
replaced log with tracing
Diffstat (limited to 'src/librustc_driver/lib.rs')
-rw-r--r--src/librustc_driver/lib.rs6
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