Logstash formatter for Elixir standard Logger console backend
Go to file
2023-05-19 12:06:52 +03:00
.github/workflows Pin ubuntu version used in CI workflow 2023-01-09 09:09:00 +02:00
config TD-607: Adds log level mapping option (#3) 2023-05-19 12:06:52 +03:00
lib TD-607: Adds log level mapping option (#3) 2023-05-19 12:06:52 +03:00
test TD-607: Adds log level mapping option (#3) 2023-05-19 12:06:52 +03:00
.formatter.exs Initial commit 2018-01-29 14:14:32 +02:00
.gitignore Initial commit 2018-01-29 14:14:32 +02:00
.tool-versions Update .tool-versions 2021-02-01 13:18:57 +02:00
CHANGELOG.md Bump version to 1.1.4 2023-01-06 16:35:04 +02:00
LICENSE Initial commit 2018-01-29 14:14:32 +02:00
mix.exs Bump version to 1.1.4 2023-01-06 16:35:04 +02:00
mix.lock Replace default JSON engine (Poison) with Jason 2021-02-01 13:55:21 +02:00
README.md Initial commit 2018-01-29 14:14:32 +02:00

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, "~> 0.1.0"}
  ]
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