Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mvalitov/slack_logger
A simple Logger backend for sending logs to slack
https://github.com/mvalitov/slack_logger
elixir logger-backend slack
Last synced: 7 days ago
JSON representation
A simple Logger backend for sending logs to slack
- Host: GitHub
- URL: https://github.com/mvalitov/slack_logger
- Owner: mvalitov
- License: mit
- Created: 2018-05-16T15:18:18.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-04T10:01:29.000Z (almost 6 years ago)
- Last Synced: 2024-09-22T19:37:21.014Z (about 1 month ago)
- Topics: elixir, logger-backend, slack
- Language: Elixir
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SlackLogger
**A simple Logger backend for sending logs to slack. Is based on the library [LoggerFileBackend](https://github.com/onkel-dirtus/logger_file_backend)**
## Installation
Add `slack_logger` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:slack_logger, "~> 0.2.0"}
]
end
```Documentation [https://hexdocs.pm/slack_logger](https://hexdocs.pm/slack_logger).
## Usage
In `*.exs`:
```elixir
config :logger,
backends: [...
{SlackLogger, :error}]config :logger, :error,
level: :error,
url: "https://hooks.slack.com/services/***"
```