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