Closed naseemkullah closed 10 months ago
Hey I think this would allow unknown properties e.g. stuff like const myShinyLogger = pinoHttp({ customLevels: { bark: 25 }, misspelledProperty: 'noot noot' });
.
What do you think? Am I missing something?
Hey I think this would allow unknown properties e.g. stuff like
const myShinyLogger = pinoHttp({ customLevels: { bark: 25 }, misspelledProperty: 'noot noot' });
. What do you think? Am I missing something?
good catch, thanks! will convert to draft until thats sorted out
superseded by #318
pass in logger's generic based on value of customLevels and/or logger.customLevels option
fixes #317 and supersedes https://github.com/pinojs/pino-http/pull/318 if merged
cc @UndefinedBehaviour @GeoffreyEmerson