This release adds several new features, including a Filter implementation and
new builder API for EnvFilter, support for using a Vec<L> where L: Layer as
a Layer, and a number of smaller API improvements to make working with dynamic
and reloadable layers easier.
Added
registry: Implement Filter for EnvFilter, allowing it to be used with
per-layer filtering (#1983)
registry: Filter::on_new_span, Filter::on_enter,
Filter::on_exit, Filter::on_close and Filter::on_record callbacks to
allow Filters to track span states internally (#1973, #2017, #2031)
registry: Filtered::filter and Filtered::filter_mut accessors
(#1959)
registry: Filtered::inner and Filtered::inner_mut accessors to borrow
the wrapped Layer (#2034)
layer: Implement Layer for Vec<L: Layer>, to allow composing together
a dynamically sized list of Layers (#2027)
layer: Layer::boxed method to make type-erasing Layers easier
(#2026)
fmt: fmt::Layer::writer and fmt::Layer::writer_mut accessors (#2034)
fmt: fmt::Layer::set_ansi method to allow changing the ANSI formatting
configuration at runtime (#2034)
env-filter: EnvFilter::builder to configure a new EnvFilter prior to
parsing it (#2035)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps tracing-subscriber from 0.3.3 to 0.3.10.
Release notes
Sourced from tracing-subscriber's releases.
... (truncated)
Commits
42888dc
subscriber: prepare to release v0.3.10 (#2041)e81ba60
subscriber: addEnvFilter::builder
, option to disable regex (#2035)ceed872
tracing: addspan_enabled!
andevent_enabled!
macros (#1900)b1977ea
subscriber: AddFiltered
andfmt::Layer
accessors (#2034)5cd4b57
subscriber: addLayer
impl forVec\<L: Layer>
(#2027)30204cb
subscriber: letEnvFIlter
's filter disabled help say help without ansi_term...7921a3b
subscriber: addLayer::boxed
method (#2026)b21d236
subscriber: fixFmtLayer
's auto traits inheritingS
's (#2024)e856d8f
subscriber: fix docs link toLayer
impl forBox
2decb45
subscriber: document boxedLayer
s (#2023)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)