pino-pretty
pino-pretty copied to clipboard
ERROR message format from pino.child({worker: 'worker_id'}) has differences from INFO
[2020-07-02 16:26:54.307 +0000] INFO (17236 on xxx): Info
worker: "worker_id"
[2020-07-02 16:26:54.308 +0000] ERROR (17236 on xxx): Error
Error: Error
at Object.fn (/xxxxx/App.js:60:19)
at async /xxxxx/run.js:78:9
worker: worker_id
As you can see INFO message has indent and quotation marks, but ERROR message hasn't them.
Would you like to submit a PR?