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

🌲Basic prettifier for Pino log lines

Results 66 pino-pretty issues
Sort by recently updated
recently updated
newest added

I'd like to hide the object printing for INFO loglevel, but not ERROR. Alternatively, I'd like to hide object printing based on some other key, if possible. What is the...

Colorize option does not work on windows and the only choice is to disable it. However on Winston logger I had basic color output just fine. How is that possible?...

Quite often I just want to print the message, not the data objects.

For log example: {req: {id: '123'}, context: 'hello'} If prettifyMessage set to {req.id}, shoud get the value '123'

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

I would like an option that controls the sorting of fields in the meta section. values may be `desc`, `asc`, or a custom function provided by the user in case...

good first issue

This tool is exactly what I'm after, but I was hoping that it would be a little easier to format the log that's output before the message is appended. I've...

There are two prettify options that take a list of strings, `errorLikeObjectKeys` and `ignore`. The former accepts an array of strings, while the latter wants a comma-separated list. I actually...

**My code:** pino( prettyPrint: { crlf : true, colorize: true}); **Issue:** I am trying to avoid new lines when using prettyPrint, my output is like the below one, [ed Jul...

Simple reproduction case (pino 5.8, pino-pretty 2.2.2): ``` const pino = require('pino'); const pinoLogger = pino(); const log = pinoLogger.child({ project: 'my-project' }); log.error('This case works as expected'); try {...