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

🌲Basic prettifier for Pino log lines

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

Hello team. I added logger in many places of my project And sometimes logger has error logs. ``` const pino = require('pino'); const path = require('path'); const logger = pino({...

I have code which looks like the following: ``` const name = req.params.name; const versionLabel = req.params.version_label; const childLogger = req.log.child({ name, versionLabel }); .... childLogger.info("deleting dangling webhooks"); .... ```...

Add support for messageKey as a number. PR related to issue #181

Using `customPrettifiers.name` I am unable to remove the parentheses from the file name.

When running pino-pretty with --hideObject, certain error log usages won't display the stack. failing example: ` logger.error({ err, msg: 'test fail' });` `[2021-07-27 20:36:01.671 +0000] ERROR (18750 on GB-UXS-TEST): unhandledRejection`...

Our use case of pino is to include contextual info under 1 log key (like `data`). During development, we're only really interested in this key, along with the top log...

enhancement
good first issue

I created pino with option `useLevelLabels: true`. When formatting via pino-pretty those log lines show up as ``` [2019-04-23 13:56:29.560 +0000] USERLVL (runScript): Request did succeed ``` The log line...

We should change all tests asserting against `t.equal(string.indexOf >= 0, true)` to use t.match in order to get a clearer assertion failure.

Getting all the CLI options and API options from the README: ```bash # omitting options that are truly API specific # ie: sync, mkdir, append, destination $ cat README.md |...

good first issue
documentation

Hi, I tried to run the below command in git bash under Windows 11 and an error is shown as described below. ``` $ node http-fastify-complete.mjs | pino-pretty stdout is...