pinojs / pino-pretty

🌲Basic prettifier for Pino log lines
MIT License
1.27k stars 150 forks source link

Better documentation for config #321

Closed glensc closed 2 years ago

glensc commented 2 years ago

The current readme describing config is pretty minimal:

--config: Specify a path to a config file containing the pino-pretty options. pino-pretty will attempt to read from a .pino-prettyrc in your current directory (process.cwd) if not specified

what is the syntax of the config (json, yaml, key=value text)? what directives can be put there?

perhaps add example config to the repository?

jsumners commented 2 years ago

Would you like to submit a pull request to address this?

glensc commented 2 years ago

depends on what the content be, since I don't know what the content is, I'm not sure.

jsumners commented 2 years ago

The source code is readily available.

glensc commented 2 years ago

No then