Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • LoggerOptions

Indexable

[key: string]: any

Any other options supported by the pino-http.

Index

Properties

autoLogging?: boolean

Turn on/off Automatic "request completed" and "request errored" logging. Useful for logging request details.

Defaults to false.

level?: "error" | "warn" | "debug" | "info" | "trace" | "silent"

The minimum level to log.

The logger will not log messages with a lower level. Setting this option reduces the load, as typically, debug and trace logs are only valid for development, and not needed in production.

Defaults to info.

Generated using TypeDoc