layer

Function layer 

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

Creates a journald layer for the given configuration.