ExJsonLogger

Hex.pm

A drop-in replacement for :console's formatter. ExJsonLogger takes standard Logger calls and JSON encodes them. Ecto and Plug loggers are also included.

Installation

Available in Hex, the package can be installed by adding ex_json_logger to your list of dependencies in mix.exs:

def deps do
  [{:ex_json_logger, "~> 0.1.3"}]
end

For additional configuration and metadata option refer to moduledocs

Documentation

Documentation is generated with ExDoc and available online at https://hexdocs.pm/ex_json_logger

Running the tests

Tests include

Contributing

License

MIT