-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmix.exs
More file actions
42 lines (37 loc) · 1.26 KB
/
Copy pathmix.exs
File metadata and controls
42 lines (37 loc) · 1.26 KB
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
defmodule SentryLoggerBackend.Mixfile do
use Mix.Project
def project do
[
app: :sentry_logger_backend,
version: "0.1.6",
elixir: "~> 1.2",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
source_url: "https://github.com/simonwoolf/sentry-logger-backend",
deps: deps()
]
end
def application do
[]
end
defp description do
"Provides a `Logger` backend for Sentry, to automatically submit Logger events above a configurable threshold to Sentry.\n**NB: As of sentry-elixir 7.0, Sentry now ship their own Sentry.LoggerBackend (including in 8.0 the ability to sent non-exception messages to Sentry), which should be used instead of this. As a result this project is now deprecated. Users are recommended to migrate to the new official Sentry.LoggerBackend as and when they upgrade their sentry-elixir version**"
end
defp package do
[
maintainers: ["Simon Woolf, simon@simonwoolf.net"],
licenses: ["MIT"],
links: %{
"github" => "https://github.com/simonwoolf/sentry-logger-backend"
}
]
end
defp deps do
[
{:sentry, ">= 4.0.0"},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
end