mirror of
https://github.com/valitydev/logstash_logger_formatter.git
synced 2024-11-06 00:55:20 +00:00
Logstash formatter for Elixir standard Logger console backend
.github/workflows | ||
config | ||
lib | ||
test | ||
.formatter.exs | ||
.gitignore | ||
.tool-versions | ||
CHANGELOG.md | ||
LICENSE | ||
mix.exs | ||
mix.lock | ||
README.md |
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