Skip to content

@nhtio/logger ​

A generalized application logger implementation for Node.JS applications

Classes ​

ClassDescription
LoggerA generalized application logger implementation for Node.JS applications
PinoCompatibleLoggerA logger which implementes the Pino logger interface.

Interfaces ​

InterfaceDescription
ConsoleTransportOptionsOptions for the stdout/stderr Console transport.
LogContextStandardized structured log context fields.
LoggerTransportOptionsAggregate transport options accepted by Logger.

Type Aliases ​

Type AliasDescription
LoggerLevelThe log levels available for the logger.
LokiTransportOptionsDefines the options for the Winston Loki transport. See the type definitions in GitHub for more specifics.
PinoCompatibleLoggerLevel-

Variables ​

VariableDescription
versionThe current version of the package.