[][src]Trait tracing_subscriber::layer::SubscriberExt

pub trait SubscriberExt: Subscriber + Sealed {
    fn with<L>(self, layer: L) -> Layered<L, Self>
    where
        L: Layer<Self>,
        Self: Sized
, { ... } }

Extension trait adding a with(Layer) combinator to Subscribers.

Provided methods

fn with<L>(self, layer: L) -> Layered<L, Self> where
    L: Layer<Self>,
    Self: Sized

Wraps self with the provided layer.

Loading content...

Implementors

impl<S: Subscriber> SubscriberExt for S[src]

Loading content...