This is a Bunyan style JSON formatter for the Lager file_backend.
This backend is configured as such::
{lager_file_backend, [{file, "log/bunyan.log"}, {level, info}, {formatter, lager_bunyan_formatter}, {formatter_config, [{name, "my_app_name"}]}]}
I would reccomend installing the Bunyan command line tool to pretty format the log outputs.
- Allow overriding of hostname in configuration.