pinojs/pino-http
Bug: `customErrorMessage` actually got passed 4 arguments, but it's ts declaration only has 3 arguments
Fermée
#359 ouverte le 25 nov. 2024
buggood first issue
Métriques du dépôt
- Stars
- (694 étoiles)
- Métriques de merge PR
- (Merge moyen 1m) (2 PRs mergées en 30 j)
Description
customErrorMessage actually got passed 4 arguments:
https://github.com/pinojs/pino-http/blob/8baaeec6fa2b53a7fe1c6bb948b3f46b7dbb6bdf/logger.js#L123
, but its ts declaration only has 3 arguments:
https://github.com/pinojs/pino-http/blob/8baaeec6fa2b53a7fe1c6bb948b3f46b7dbb6bdf/index.d.ts#L34
I'd like to make use of the 4th argument "responseTime" in my logging message.