Skip to content

Home > @opengovsg/logging > LogInput > context

LogInput.context property ​

Free-form, app-owned business data, emitted as the context field. action and error are reserved at the top level and forbidden here.

Signature:

typescript
context?: {
        action?: never;
        error?: never;
        [key: string]: unknown;
    };