InjectLambdaContextOptions: {
    clearState?: boolean;
    logEvent?: boolean;
    resetKeys?: boolean;
}

Options for the () method.

Type declaration

  • OptionalclearState?: boolean

    Use ()` instead.

  • OptionallogEvent?: boolean

    When true the logger will log the event.

    To avoid logging sensitive information, we recommend using this option only for debugging purposes in local environments.

  • OptionalresetKeys?: boolean

    If true, the logger will reset the keys added via ()