Documentation
¶
Overview ¶
Package journal writes entries to the local systemd journal over its native protocol.
The protocol is a datagram of "FIELD=value" lines sent to a Unix socket. A value containing a newline cannot be written that way, so it is sent as the field name on its own line, the value's length as a little-endian uint64, and then the value. A datagram too large for the socket buffer is instead written to an unlinked file whose descriptor is passed to journald out of band.
See https://systemd.io/JOURNAL_NATIVE_PROTOCOL/ and https://www.freedesktop.org/software/systemd/man/systemd.journal-fields.html
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.