Expand description
Live event printer for kranz run: a read-only tail of events.jsonl
(never the lock — the engine is the single writer, §4.3).
tail_events polls EventLog::read_events_after every
POLL_INTERVAL from the pre-run head seq and prints one human line per
event to stderr. EventRenderer does the event → line mapping and is
separate so tests can assert on exact lines.
Structs§
- Event
Renderer - Renders one
Eventas one role-tagged, optionally colored, single line.
Constants§
- POLL_
INTERVAL - Tail poll interval.
Functions§
- tail_
events - Tail
events.jsonlfromfrom_seq, printing each new event as one line to stderr, untilstopis set (a final catch-up read runs after that).