Expand description
Contains readers for when working in a synchronous environment like a manually spawned thread.
Structs§
- Live
LogDir Handle - Live
LogDir Reader - 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.
- Live
LogFile Handle - Live
LogFile Reader - 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).
- LogDir
Reader - LogFile
Reader - 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].