-
Notifications
You must be signed in to change notification settings - Fork 885
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve prettifier documentation #510
Comments
what do you mean? |
There was a prettyPrint.formatter option in pino <=4 — this option is not available because pino-pretty doesn’t support such option. And since I try to stay up to date, I’m looking for an alternative way to format the output. |
Oh, we have internalized that functionality and forgot to write the docs: #478. |
Actually there is non-documented (mistake) API https://github.com/pinojs/pino/blob/master/lib/tools.js#L159-L170. passing a prettifier function would do the same function of Would you like to help and figure out the docs? |
Ah awesome 🙌🏼 Thanks Matteo! |
Yes it is documented -- http://getpino.io/#/docs/pretty?id=prettifier-api |
I think we can do a bit better, the example is not really self-explanatory.
We can actually explain this. |
prettyPrint.formatter
in pino v5
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi there!
AFAIK, since the v5 release and the integration of
pretty-pino
theprettyPrint.formatter
option is useless.Is there an easy way to migrate the
prettyPrint.formatter
option to v5 though? 😔Cheers!
The text was updated successfully, but these errors were encountered: