Class

PinoLogger

PinoLogger(contextopt, confopt, driveropt)

Constructor

# new PinoLogger(contextopt, confopt, driveropt)

This class extends MiniLogger and uses Pino as its underlying logging engine.

A logger that is powered by the Pino logging library.

Parameters:
Name Type Attributes Description
context string <optional>

The context (typically the class name) that this logger is associated with.

conf Partial.<LoggingConfig> <optional>

Optional configuration to override global settings.

driver PinoBaseLogger <optional>

An optional, pre-existing Pino logger instance to use.

View Source pino/pino.ts, line 62