tracing_subscriber::fmt

Function layer

Source
pub fn layer<S>() -> Layer<S> 
Available on crate features fmt and std only.
Expand description

Returns a new formatting layer that can be composed with other layers to construct a Subscriber.

This is a shorthand for the equivalent Layer::default() function.