Skip to content
1 min read · 177 words

Interface: LogEvent

Defined in: lib/types/dispatch_runner.ts:199

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.lib/types/dispatch_runner.ts:201
emittedAtDateTimeWhen the event was emitted.lib/types/dispatch_runner.ts:205
iterationnumber0-based iteration index within the dispatch.lib/types/dispatch_runner.ts:203
kindstringStable discriminator authored by the executor.lib/types/dispatch_runner.ts:209
levelDispatchExecutorLogLevelSeverity level the executor selected.lib/types/dispatch_runner.ts:207
messagestringHuman-readable message.lib/types/dispatch_runner.ts:211
payload?Record<string, unknown>Optional structured detail block.lib/types/dispatch_runner.ts:213