Can we have easier pretty log for development?
frederikhors opened this issue ยท 1 comments
frederikhors commented
Hi @LukeMathWalker, I got here thanks to your website page. Very useful, much appreciated! ๐
I would like to ask you if there is an easier way to have the logs in JSON only when required and the logs "pretty" when I am developing. Coming from Golang, this is what zerolog
does using a simple configuration (which can also be based on the value of an environment variable).
This would save us both installing your great "bunyan
" port, and piping each time the command (cargo watch ... | bunyan
).
frederikhors commented
I think the correct repo is LukeMathWalker/tracing-bunyan-formatter#17.