Skip to content

TraceReporter

TraceReporter = (action, data?) => void

Defined in: src/policies/sdk/trace.ts:68

A trace reporter function. Always callable - no-op when tracing is inactive.

string

Human-readable action string (e.g. "HIT", "allowed").

Record<string, unknown>

Optional structured context data.

void