Function arti::logging::journald_layer
source · [−]fn journald_layer<S>(config: &LoggingConfig) -> Result<impl Layer<S>> where
S: Subscriber + for<'span> LookupSpan<'span>,
Available on crate feature
journald
only.Expand description
Try to construct a tracing Layer
for logging to journald, if one is
configured.