diff --git a/README.md b/README.md index 0de477e..e20989a 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,14 @@ end Then run `$ mix do deps.get, compile` to download and compile your dependencies. +Add the `:slack_logger_backend` application as your list of applications in `mix.exs`: + +```elixir +def application do + [applications: [:logger, :slack_logger_backend]] +end +``` + Finally, add `SlackLoggerBackend.Logger` to your list of logging backends in your app's config: ```elixir diff --git a/mix.exs b/mix.exs index 6dabe61..744b7f0 100644 --- a/mix.exs +++ b/mix.exs @@ -5,7 +5,7 @@ defmodule SlackLoggerBackend.Mixfile do [ app: :slack_logger_backend, description: "A logger backend for posting errors to Slack.", - version: "0.1.12", + version: "0.1.13", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps, @@ -16,7 +16,7 @@ defmodule SlackLoggerBackend.Mixfile do end def application do - [applications: [:logger, :httpoison], + [applications: [:logger, :httpoison, :gen_stage], mod: {SlackLoggerBackend, []}] end