Module blocking

Source
Expand description

Contains readers for when working in a synchronous environment like a manually spawned thread.

Structs§

LiveLogDirHandle
LiveLogDirReader
Watches the whole journal dir and reads all files. Once all historic files have been read it will block the current thread until the newest log file is changed at which it will read the active log file and return the entry.
LiveLogFileHandle
LiveLogFileReader
Allows you to iterate over a journal log file and blocks when there are no entries to read, then when the file changes it will unblock and return the new line(s).
LogDirReader
LogFileReader
Used for reading entries from a single journal log file. The reader takes care of things like partial lines if that ever happens and parsing them to a usable [JournalEvent].

Enums§

LiveLogDirReaderError
LiveLogFileReaderError
LogDirReaderError
LogFileReaderError