Home

Awesome

LagerBunyanFormatter

This is a Bunyan style JSON formatter for the Lager file_backend.

Configuration

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"}]}]}

Usage

I would reccomend installing the Bunyan command line tool to pretty format the log outputs.

Todo