pino-debug icon indicating copy to clipboard operation
pino-debug copied to clipboard

Process all arguments debug.js style

Open tevch opened this issue 10 months ago • 1 comments

In case of multiple log arguments

debug("Redis options", options);

native debug.js produces

package:server Redis options { host: 'redis.dev.aaa.io', port: '6379', password: 'some, no_ready_check: true, tls: { checkServerIdentity: [Function: checkServerIdentity] } }

So it appends all arguments

But in pino-debug it doesn't happen

What happens is just

{"level":"debug","time":1710872452769,"ns":"oauth2-authorizer:server","msg":"Redis options"}

tevch avatar Apr 18 '24 14:04 tevch