Module systemd::journal[][src]

Expand description

High-level interface to the systemd journal.

The main interface for writing to the journal is fn log(), and the main interface for reading the journal is struct Journal.

Structs

A wrapper type that allows displaying a single entry in the journal

A reader for systemd journal.

A (name, value) pair formatted as a “NAME=value” byte string

Logger implementation over systemd-journald.

A borrowed reference to a Journal.

Open a journal, specifying a directory

Open a journal, specifying one or more files

Open a Journal, using custom options.

Enums

JournalFilesDeprecated

Represents the set of journal files to read.

Seeking position in journal.

Functions

Record a log entry, with custom priority and location.

Send a log::Record to systemd-journald.

Send a simple message to systemd-journald.

Send preformatted fields to systemd.

Type Definitions