mojo
mojo copied to clipboard
Make the logger JSON friendly
I'm quite happy with the mojo.js logger. It uses a JSON friendly data structure for context information. That makes JSON logging and support for custom formatters very easy. I think we should bring most of that to Mojolicious too. Unfortunately it will require breaking changes, so we'll have to do it in a major release or with a second module for the deprecation period (Mojo::Logger?).