pino-http
Version:
High-speed HTTP logger for Node.js
11 lines (7 loc) • 453 B
JavaScript
const warning = require('process-warning')()
// Warning example
// const warnName = 'PinoHttpWarning'
// warning.create(warnName, 'PINOHTTP_DEP001', 'Use of "autoLogging.ignorePaths" is deprecated since version 7.1.0, use "opts.autoLogging.ignore" instead.')
// warning.create(warnName, 'PINOHTTP_DEP002', 'Use of "autoLogging.getPath" is deprecated since version 7.1.0, use "opts.autoLogging.ignore" instead.')
module.exports = warning