forked from seeurchin/logstash-json
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
46 lines (41 loc) · 1020 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
40
41
42
43
44
45
46
defmodule LogstashJson.Mixfile do
use Mix.Project
def project do
[
app: :logstash_json,
version: "0.7.6",
elixir: "~> 1.5",
description: description(),
package: package(),
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
consolidate_protocols: Mix.env() != :test,
deps: deps()
]
end
def application do
[applications: [:logger]]
end
defp deps do
[
{:connection, "~> 1.1.0"},
{:jason, "~> 1.1"},
{:blocking_queue, "~> 1.4", github: "tongacuity/BlockingQueue", branch: "master"},
{:ex_doc, ">= 0.0.0", only: :dev},
{:credo, ">= 0.0.0", only: :dev}
]
end
defp description do
"""
Formats logs as JSON, forwards to Logstash via TCP, or to console.
"""
end
defp package do
[
name: :logstash_json,
maintainers: ["Tobias Ara Svensson"],
licenses: ["MIT"],
links: %{"Github" => "https://github.com/svetob/logstash-json"}
]
end
end