Function layer
pub fn layer<S>(config: &Config) -> impl Layer<S> + Send + Sync + 'staticwhere
S: Subscriber + for<'a> LookupSpan<'a>,Available on crate feature
stdout only.Expand description
Creates a file layer from the given configuration.