layer

Function layer 

pub fn layer<S>(config: &Config) -> impl Layer<S> + Send + Sync + 'static
where S: Subscriber + for<'a> LookupSpan<'a>,
Available on crate feature stdout only.
Expand description

Creates a file layer from the given configuration.