Skip to main content

Module reader

Module reader 

Expand description

Paginated stream reader for the JSONL log file.

Structs§

LogFilter
LogPage
One page returned by load_page.
SegmentCursor
Segment-aware pagination cursor.
SegmentLookup
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.