You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
subscriber: Add Filtered and fmt::Layer accessors (#2034)
This adds more modification methods for use with reloading. Replaces
#2032.
## Motivation
I have a `Filtered` layer that I'd like to modify with a reload handle. If
I use `reload` then the filter doesn't work. If I use `modify` with
`filter_mut` I can't update the writer.
## Solution
Adds some additional accessor methods to allow the writer to be modified
in `modify`:
* `Filtered::inner`
* `Filtered::inner_mut`
* `fmt::Layer::writer`
* `fmt::Layer::writer_mut`
* `fmt::Layer::set_ansi`
0 commit comments