tokio-rs/tracing#136 added a Layer trait to the tracing-subscriber crate. Layer represents a stripped-down version of the Subscriber interface that can be composed with another Subscriber to allow fan-out between multiple methods of consuming tracing data. It would be great if the console subscriber also had a Layer implementation, so that the console can be used in conjunction with other subscribers.
The tracing-subscriber dependency can be feature-flagged, as that crate isn't quite stable yet.
tokio-rs/tracing#136 added a
Layer
trait to thetracing-subscriber
crate.Layer
represents a stripped-down version of theSubscriber
interface that can be composed with anotherSubscriber
to allow fan-out between multiple methods of consumingtracing
data. It would be great if the console subscriber also had aLayer
implementation, so that the console can be used in conjunction with other subscribers.The
tracing-subscriber
dependency can be feature-flagged, as that crate isn't quite stable yet.