Skip to content

Home > @opengovsg/logging > Logger > debug

Logger.debug() method ​

Verbose diagnostic detail useful only while actively debugging (e.g. branch traces, intermediate values). Typically disabled in production. No one is expected to act on it.

Signature:

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

Parameters ​

ParameterTypeDescription
inputOmit<LogInput, 'error'>

Returns:

void