forked from svetob/logstash-json
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
39 lines (34 loc) · 841 Bytes
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
defmodule LogstashJson.Mixfile do
use Mix.Project
def project do
[app: :logstash_json,
version: "0.4.0",
elixir: "~> 1.3",
description: description(),
package: package(),
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps]
end
def application do
[applications: [:logger]]
end
defp deps do
[{:connection, "~> 1.0.3"},
{:poison, "~> 2.1"},
{:blocking_queue, "~> 1.0"},
{:ex_doc, ">= 0.0.0", only: :dev}]
end
defp description do
"""
Elixir Logger backend which sends logs to logstash in JSON format via TCP.
"""
end
defp package do
[ name: :logstash_json,
maintainers: ["Tobias Ara Svensson"],
licenses: ["MIT"],
links: %{"Github" => "https://github.com/svetob/logstash-json"},
]
end
end