journal_send

Function journal_send 

Source
pub(crate) fn journal_send<K, V>(
    priority: Priority,
    msg: &str,
    vars: impl Iterator<Item = (K, V)>,
)
where K: AsRef<str>, V: AsRef<str>,
Expand description

Wrapper for structured logging which is an explicit no-op when systemd is not in use (e.g. in a container).