This release contains two breaking changes: the removal of the env_logger
and trace_logger
features. Below are the suggested migration paths:
env_logger
: users should usetracing_subscriber::fmt::Subscriber
ortracing_subscriber::fmt::Layer
with theTargets
orEnvFilter
filters instead.trace_logger
: users should use thetracing
crate's "log" feature flag instead.
- Remove deprecated
env_logger
feature. This removes the dependency on the unmaintainedatty
crate, resolving the security advisory GHSA-g98v-hv3f-hcfr/RUSTSEC-2021-0145. (#2771) - Remove deprecated
trace_logger
feature. (#2771)
- Deprecated
env_logger
feature in favor oftracing_subscriber::fmt::Subscriber
([#2752])
#[2752]: #2752
- log-tracer: Added
LogTracer::with_interest_cache
to enable a limited form of per-recordInterest
caching forlog
records (#1636)
- Updated minimum supported Rust version (MSRV) to Rust 1.49.0 (#1913)
- log-tracer: Fixed
LogTracer
not honoringtracing
max level filters (#1543) - Broken links in documentation (#2068, #2077)
Thanks to @Millione, @teozkr, @koute, @Folyd, and @ben0x539 for contributing to this release!
- Re-export the
log
crate so that users can ensure consistent versions ([#602]) AsLog
implementation fortracing::LevelFilter
(#1248)AsTrace
implementation forlog::LevelFilter
(#1248)
- log-tracer: Fixed
Log::enabled
implementation forLogTracer
not callingSubscriber::enabled
(#1254) - log-tracer: Fixed
Log::enabled
implementation forLogTracer
not checking the max level hint (#1247) - Several documentation fixes (#483, #485, #537, #595, #941, [#981])
TraceLogger
(usetracing
's "log" and "log-always" feature flags instead)
- Issues with
log/std
feature flag (#406) - Minor documentation issues (#405, #408)
- Initial release