You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The console.log outputs the contents of app.name whereas the logger.info does not output the name property - just the id, progress and target. If I use a value different to name eg geoff then the contents of app.name is output
The text was updated successfully, but these errors were encountered:
Confirmed with @GeoffThorpeFT that name gets moved when pino-pretty is enabled but it does appear in the JSON when you disable the prettifier. Might be that we can stop it from doing this.
Node.js version: 18
Impacted package(s): logger
Steps to reproduce
With the following code:
The
console.log
outputs the contents ofapp.name
whereas thelogger.info
does not output thename
property - just theid
,progress
andtarget
. If I use a value different toname
eggeoff
then the contents of app.name is outputThe text was updated successfully, but these errors were encountered: