When set to true, this option will force the log severity to be error for all non 2** response statuses.
If set to true, this option will stop the Date header being added to responses.
If set to true, this option will stop the X-Request-ID header being added to responses.
If set to true, this option will stop the X-Response-Time header being added to responses.
Configures pino the use extreme mode for added performance.
Allows you to pass your own instance of Pino preconfigured to use in the logging middleware. This option is not compatible with pinoOptions or extreme, as they don't make sense if you pass a preconfigured pino object. If a preconfigured instance is used requests, responses and errors will not be serialized.
These options will be passed to pino. If no serializers for req, res or err are specified the defaults will be used.
Allows you to override the default request id generation function. By default this is set to the uuidv4 function from the uuid node module.
Generated using TypeDoc
A set of configuration options used to configure a new instance of KoaReqLogger.