Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 610 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 610 Bytes

LogstashLoggerFormatter

Logstash JSON formatter for Elixir standard Logger console backend.

Installation

The package can be installed by adding logstash_logger_formatter to your list of dependencies in mix.exs:

def deps do
  [
    {:logstash_logger_formatter, "~> 1.1.5"}
  ]
end

Documentation can be found at https://hexdocs.pm/logstash_logger_formatter.

Usage

Add to your config.exs:

config :logger, :console,
  format: {LogstashLoggerFormatter, :format}

License

MIT License, Copyright (c) 2018 SaleMove