We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c40919b commit 569c2feCopy full SHA for 569c2fe
compiler/rustc_log/src/lib.rs
@@ -53,12 +53,6 @@ use tracing_subscriber::fmt::{
53
};
54
use tracing_subscriber::layer::SubscriberExt;
55
56
-pub fn init_rustc_env_logger() -> Result<(), Error> {
57
- init_env_logger("RUSTC_LOG")
58
-}
59
-
60
-/// In contrast to `init_rustc_env_logger` this allows you to choose an env var
61
-/// other than `RUSTC_LOG`.
62
pub fn init_env_logger(env: &str) -> Result<(), Error> {
63
let filter = match env::var(env) {
64
Ok(env) => EnvFilter::new(env),
0 commit comments