Skip to content

Home > @opengovsg/logging > Logger > info

Logger.info() method ​

Routine, expected business events that form the normal activity trail (e.g. a request handled, a record read). Useful for reconstructing what happened; no action implied. This is the default level — reach for notice when an event is auditable, or warn/error when something is off.

Signature:

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

Parameters ​

ParameterTypeDescription
inputOmit<LogInput, 'error'>

Returns:

void