From 964a029e3798f8c23275bdce33aa8f63d3f805c0 Mon Sep 17 00:00:00 2001 From: David Barsky Date: Thu, 12 Oct 2023 19:43:22 -0400 Subject: [PATCH] log: deprecate `env_logger` in favor of `tracing_subscriber::fmt::Subscriber` --- tracing-log/src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tracing-log/src/lib.rs b/tracing-log/src/lib.rs index d2637545c1..218c968354 100644 --- a/tracing-log/src/lib.rs +++ b/tracing-log/src/lib.rs @@ -164,6 +164,10 @@ pub use self::trace_logger::TraceLogger; #[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;