LukeMathWalker/tracing-actix-web

Can we have easier pretty log for development?

frederikhors opened this issue ยท 1 comments

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).