Module journal

Module journal 

Source
Expand description

Thin wrapper for systemd journaling; these APIs are no-ops when not running under systemd. Only use them when

Staticsยง

EMITTED_JOURNAL_ERROR ๐Ÿ”’
Set to true if we failed to write to the journal once

Functionsยง

journal_print ๐Ÿ”’
Wrapper for writing to systemd journal which is an explicit no-op when systemd is not in use (e.g. in a container).
journal_send ๐Ÿ”’
Wrapper for structured logging which is an explicit no-op when systemd is not in use (e.g. in a container).