This release fixes multiple filtering bugs in the Layer
implementations for
Option<impl Layer>
and Vec<impl Layer>
.
Fixed
- layer:
Layer::event_enabled
implementation forOption<impl Layer<S>>
returningfalse
when theOption
isNone
, disabling all events globally
(#2193) - layer:
Layer::max_level_hint
implementation forOption<impl Layer<S>>
incorrectly disabling max level filtering when the option isNone
(#2195) - layer:
Layer::max_level_hint
implementation forVec<impl Layer<S>>
returningLevelFilter::ERROR
rather thanLevelFilter::OFF
when theVec
is empty (#2195)
Thanks to @CAD97 and @guswynn for contributing to this release!