Crate sdjournal

Crate sdjournal 

Source
Expand description

sdjournal is a pure Rust systemd journal reader and query engine.

This crate targets Linux systemd journal files (*.journal) and intentionally does not depend on libsystemd nor invoke journalctl.

Structs§

Cursor
Opaque cursor for checkpointing and resuming journal iteration.
EntryOwned
An owned journal entry, suitable for caching, cross-thread use, or async contexts.
EntryRef
A zero-copy entry view, backed by journal file storage (mmap) when possible.
Follow
A blocking follow/tail iterator.
Journal
JournalConfig
Runtime configuration for Journal.
JournalQuery
A query builder for reading entries from a Journal.

Enums§

SdJournalError
A structured error type for journal operations.

Type Aliases§

Result
Result type used by this crate.