Module reader
Expand description
Paginated stream reader for the JSONL log file.
Structs§
- LogFilter
- LogPage
- One page returned by
load_page. - Segment
Cursor - Segment-aware pagination cursor.
- Segment
Lookup - Outcome of
find_event_across_segments.
Functions§
- current_
log_ path - Helper for the gateway: the path the writer is configured to use.
- find_
event_ across_ segments - Find one event by id across the active file and every retained archive,
newest source first. Owns segment enumeration for the same reason as
query_log_page: the caller never holds a list that can go stale. - find_
event_ by_ id - load_
page - query_
log_ page - Read one page across the active file and every retained archive.