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

ERROR message format from pino.child({worker: 'worker_id'}) has differences from INFO

Open d52b8 opened this issue 4 years ago • 1 comments

[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.

d52b8 avatar Jul 02 '20 16:07 d52b8

Would you like to submit a PR?

jsumners avatar Jul 02 '20 16:07 jsumners