Skip to content

Commit

Permalink
Updated README and added gen_stage to the application list
Browse files Browse the repository at this point in the history
  • Loading branch information
craigp committed Oct 6, 2016
1 parent 57a1967 commit 9a0c430
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -16,7 +16,7 @@ defmodule SlackLoggerBackend.Mixfile do
end

def application do
[applications: [:logger, :httpoison],
[applications: [:logger, :httpoison, :gen_stage],
mod: {SlackLoggerBackend, []}]
end

Expand Down

0 comments on commit 9a0c430

Please sign in to comment.