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
The Layer trait in tracing-subscriber has a type parameter called S, but the docs do not say what that parameter is meant to represent. I think it's the "inner" subscriber, but the docs should make that clear.
The text was updated successfully, but these errors were encountered:
Depends on #564
This commit adds a new section to the `Layer` docs on how `Layer`s and
`Subscriber`s are composed. Additionally, it updates the docs to prefer
the use of `SubscriberExt::with` over `Layer::with_subscriber`.
Additionally, I've fixed how `SubscriberExt::with` is implemented, so
that `Layer`s may use `with_subscriber` as a callback for composition.
Closes#452Closes#505 (IMO)
Bug Report
The
Layer
trait intracing-subscriber
has a type parameter calledS
, but the docs do not say what that parameter is meant to represent. I think it's the "inner" subscriber, but the docs should make that clear.The text was updated successfully, but these errors were encountered: