Skip to content
1 min read · 177 words

Interface: LogEvent

Defined in: src/lib/types/dispatch_runner.ts:218

Payload fired on the observability log hook for every structured event emitted via DispatchExecutorHelpers.log.

Remarks

Enriched by the runner with the active dispatchId and 0-based iteration index so subscribers can correlate events across multiple in-flight dispatches without threading extra context themselves.

Properties

PropertyTypeDescriptionDefined in
dispatchIdstringStable identifier for the dispatch that produced the event.src/lib/types/dispatch_runner.ts:220
emittedAtDateTimeWhen the event was emitted.src/lib/types/dispatch_runner.ts:224
iterationnumber0-based iteration index within the dispatch.src/lib/types/dispatch_runner.ts:222
kindstringStable discriminator authored by the executor.src/lib/types/dispatch_runner.ts:228
levelDispatchExecutorLogLevelSeverity level the executor selected.src/lib/types/dispatch_runner.ts:226
messagestringHuman-readable message.src/lib/types/dispatch_runner.ts:230
payload?Record<string, unknown>Optional structured detail block.src/lib/types/dispatch_runner.ts:232