Skip to content

createPinoInstance

createPinoInstance(input): Logger

Defined in: observability/src/logger/pino.ts:136

Construct the underlying Pino instance. Writes to destination when one is supplied (tests), to a null destination when the caller explicitly suppressed console output and no transport ended up wired (nothing else to write to — see nullDestination), otherwise to the transports buildPinoOptions wired.

CreatePinoInstanceInput

Logger