Logstash JSON formatter for Elixir standard Logger console backend.
The package can be installed by adding logstash_logger_formatter
to your
list of dependencies in mix.exs
:
def deps do
[
{:logstash_logger_formatter, "~> 0.1.0"}
]
end
Documentation can be found at https://hexdocs.pm/logstash_logger_formatter.
Add to your config.exs
:
config :logger, :console,
format: {LogstashLoggerFormatter, :format}
MIT License, Copyright (c) 2018 SaleMove