Skip to content

LogContextData

LogContextData = Readonly<Record<string, string | number | boolean>>

Defined in: src/LogContext.ts:45

Shape of a context. Values are intentionally constrained to JSON-safe primitives so the context can ride along with cluster-wire envelopes without bespoke codecs. Use JSON.stringify to serialise more complex values yourself.