Skip to content

Home > @opengovsg/logging > Logger > notice

Logger.notice() method ​

Significant or **auditable** business events that are normal but worth recording for later reconstruction — e.g. ownership transfer, mutating a critical resource, a permission change, an authentication. Not an error: notice carries no error field.

Signature:

typescript
notice(input: Omit<LogInput, 'error'>): void;

Parameters ​

ParameterTypeDescription
inputOmit<LogInput, 'error'>

Returns:

void