Skip to main content

setup_systemd_journal_logging

Function setup_systemd_journal_logging 

Source
pub fn setup_systemd_journal_logging(
    max_level: impl Into<LevelFilter>,
) -> Result<(), Error>
Expand description

Sets up a global systemd journal logger based on a maximum logging level filter.

ยงErrors

Returns an error, if globally installing a [JournalLog] fails.