Expand description
Compatibility shim for the doctor command’s log-reading utilities.
The legacy positional-arg record_event shim was retired in favor of
direct zeroclaw_log::record! invocations carrying typed attribution
via attribution_span!. This module survives only as the doctor
command’s path-resolution + load surface; new emission code goes
directly to zeroclaw_log::record!.
Structs§
- LogFilter
- Filter parameters for
load_page. Each field is independent; an event must match ALL provided constraints to be included. - LogPage
- One page returned by
load_page. - Runtime
Trace Event - One row in the canonical log stream.
Functions§
- find_
event_ by_ id - Lookup a single event by id.
- init_
from_ config - Initialize log persistence from the observability config.
- load_
events - Load a page of events. Replaces the old
load_eventsshape with a thin wrapper around the new paginated reader. The legacyevent_filter(single action match) andcontains(substring) args map straight onto the newLogFilterfields. - resolve_
trace_ path - Resolve the configured log path (used by the doctor command).