Skip to content

Commit

Permalink
log: deprecate env_logger in favor of `tracing_subscriber::fmt::Sub…
Browse files Browse the repository at this point in the history
…scriber` (tokio-rs#2752)
  • Loading branch information
davidbarsky authored and kaffarell committed May 22, 2024
1 parent 8e96944 commit 48d0ba7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tracing-log/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@ pub use self::log_tracer::LogTracer;

#[cfg(feature = "env_logger")]
#[cfg_attr(docsrs, doc(cfg(feature = "env_logger")))]
#[deprecated(
since = "0.1.4",
note = "use `tracing-subscriber`'s `fmt::Subscriber` instead"
)]
pub mod env_logger;

pub use log;
Expand Down

0 comments on commit 48d0ba7

Please sign in to comment.