layer

Function layer 

Source
pub fn layer<S>(tag: impl ToString) -> Layer<S>
where for<'a> S: Subscriber + LookupSpan<'a>,
Expand description

Returns a new formatting layer with the given tag, which can be composed with other layers to construct a Subscriber.