Expand description
Data representation of .journal
file log message entries.
Structs§
- Data representing a single
.journal
file log message.
Enums§
journalctl
prefers to base the datetime on_SOURCE_REALTIME_TIMESTAMP
if it is present, otherwise it uses__REALTIME_TIMESTAMP
. This notes which was used to create theDateTimeL
returned byJournalEntry::dt()
.
Constants§
- Compile-time override of default preference of datetime source. See Issue #101.
Functions§
- Convert
datetime
to anEpochMicroseconds
. - Convert
datetime_opt
to anOption<EpochMicroseconds>
. - Convert a
journal
value from field__REALTIME_TIMESTAMP
or field_SOURCE_REALTIME_TIMESTAMP
to as4
“datetime” (DateTimeL
). - Convert a
journal
field__REALTIME_TIMESTAMP
or field_SOURCE_REALTIME_TIMESTAMP
value to as4
“datetime” (DateTimeL
).
Type Aliases§
- Microseconds since the Unix epoch. The DateTime signifier from Journal field
__REALTIME_TIMESTAMP
and returned by API functionsd_journal_get_realtime_usec
. - The boot time microseconds offset from Journal field
__MONOTONIC_TIMESTAMP
.