Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hashnuke/fink-elixir
Elixir client for CrashDump
https://github.com/hashnuke/fink-elixir
Last synced: 24 days ago
JSON representation
Elixir client for CrashDump
- Host: GitHub
- URL: https://github.com/hashnuke/fink-elixir
- Owner: HashNuke
- License: other
- Created: 2015-05-06T07:17:57.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-06T12:26:59.000Z (over 9 years ago)
- Last Synced: 2024-10-04T21:34:36.114Z (about 1 month ago)
- Language: Elixir
- Homepage: https://crashdump.io
- Size: 99.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# finkex
Provides a [CrashDump.io](http://crashdump.io) logging backend for Elixir's Logger.
*If you use other logging libraries like SASL, Lager, etc checkout the [fink-erlang](https://github.com/crashdumpio/fink-erlang) library instead.*
## Installation
* Add `finkex` to your list of dependencies in `mix.exs`
```
defp deps do
[{:finkex, github: "crashdumpio/fink-elixir"}]
end
```* Add `:finkex` to the list of applications to start in `mix.exs`
```
def application do
[ applications: [:finkex] ]
end
```* Get dependencies by running `mix deps.get`
* Configure fink in `config/config.exs`
```
config :finkex, [public_key: "api_public_key",
secret_key: "api_secret_key",
project: "crashdump_project_name"]
```* Add `:finkex` as Elixir Logger's backend in your `config/config.exs`
```
config :logger, backends: [:console, :finkex]
```The above line will log to CrashDump.io, along with the logging to the console as usual.
## Usage
All your logs sent to Elixir's Logger, can be viewed on [CrashDump.io](http://crashdump.io)