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.11.
Release notes
Sourced from tracing-subscriber's releases.
... (truncated)
Commits
b9da544
subscriber: prepare to release v0.3.11 (#2062)40fb304
tracing: prepare to release v0.1.33 (#2061)d91af65
chore(ci): add a minimal-versions check (#2015)ce613f8
journald: remove span field prefixes; add separate fields for span data (#1968)b0146c5
subscriber: add missingFilter::on_record
for toEnvFilter
(#2058)d554b2b
subscriber: add inherent impls forEnvFilter
methods (#2057)75f82ec
subscriber: fix empty string handling inEnvFilter::builder().parse
(#2052)66514cd
chore: fix Rust 1.60 warnings (#2056)38da7ea
tracing: fix issues compiling for WASM/other <=32-bit platforms (#2060)8f240e6
core: prepare to release 0.1.24 (#2042)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)