This release fixes multiple filtering bugs in the Layer implementations for
Option<impl Layer> and Vec<impl Layer>.
Fixed
layer: Layer::event_enabled implementation for Option<impl Layer<S>>
returning false when the Option is None, disabling all events globally
(#2193)
layer: Layer::max_level_hint implementation for Option<impl Layer<S>>
incorrectly disabling max level filtering when the option is None (#2195)
layer: Layer::max_level_hint implementation for Vec<impl Layer<S>>
returning LevelFilter::ERROR rather than LevelFilter::OFF when the Vec
is empty (#2195)
Thanks to @CAD97 and @guswynn for contributing to this release!
This release of tracing-subscriber adds a new Layer::event_enabled method,
which allows Layers to filter events after their field values are recorded;
a Filter implementation for reload::Layer, to make using reload with
per-layer filtering more ergonomic, and additional inherent method downcasting
APIs for the Layered type. In addition, it includes dependency updates, and
minor fixes for documentation and feature flagging.
... (truncated)
Commits
290eff2 subscriber: prepare to release v0.3.15 (#2237)
398a6ec core: implement PartialEq, Eq for Metadata, FieldSet (#2229)
28a0c99 appender: add a builder for constructing RollingFileAppenders (#2227)
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.2.25 to 0.3.15.
Release notes
Sourced from tracing-subscriber's releases.
... (truncated)
Commits
290eff2
subscriber: prepare to release v0.3.15 (#2237)398a6ec
core: implementPartialEq
,Eq
forMetadata
,FieldSet
(#2229)28a0c99
appender: add a builder for constructingRollingFileAppender
s (#2227)463b699
core: remove misleading dispatcher docs (#2220)8fbdb1c
tracing: allow owned values and fat pointers inSpan::record
(#2212)21cdf08
appender: name spawned thread (#2219)7533872
docs: remove hard coded version link from readme (#2208)65093b3
chore(ci): update actions/checkout action to v3 (#2213)d7139a5
subscriber: pass throughmax_level_hint
inreload
(#2204)9c4bd43
attributes: prepare to release v0.1.22 (#2203)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)