pinojs / pino

🌲 super fast, all natural json logger
http://getpino.io
MIT License
14.21k stars 875 forks source link

Possible to Pretty Print on the Browser? #1479

Closed DoisKoh closed 2 years ago

DoisKoh commented 2 years ago

Is there a good way to pretty print Pino logs on the browser right now? I'm using Pino with Svelte and it requires the code to be isomorphic.

In nodejs, I just use pino-pretty, but it doesn't work in the browser, and now that the prettyPrint option has been deprecated, what's a good/best solution for printing on the browser console? (Just for development, in production it's turned off of course).

mcollina commented 2 years ago

Unfortunately, is no support for pretty logs in the browser. I'm not even sure how those could be implemented easily.

github-actions[bot] commented 2 years ago

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.