From 9a0c430a5b8f5625358935edade53b3b713e149e Mon Sep 17 00:00:00 2001 From: Craig Paterson Date: Thu, 6 Oct 2016 09:56:21 +0200 Subject: [PATCH] Updated README and added gen_stage to the application list --- README.md | 8 ++++++++ mix.exs | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) 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