pinojs / pino-http

🌲 high-speed HTTP logger for Node.js
MIT License
527 stars 117 forks source link

feat: added responseTime argument to the custom errorMessage callback #320

Closed jorra-singh closed 4 months ago

jorra-singh commented 8 months ago

Similar to issue #199, this PR adds the responseTime argument to the custom errorMessage callback to provide more informative error logs.