Closed tichon29 closed 2 years ago
looks like a bug here! Would you like to send a PR?
@mcollina , looks like the way I was using prettyPrint is deprecated. Using the new recommended way solves my issue:
const Logger = pino({
level: 'debug',
transport: {
target: 'pino-pretty'
}
});
I am using the following npm packages:
and node v14.15.4
The simple code below:
generates this data in the console:
while it should be:
Without prettyPrint, the result is fine:
FYI, with pino version 7.6.5, this problem with PrettyPrint does not exist