Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 971 Bytes

README.md

File metadata and controls

42 lines (28 loc) · 971 Bytes

raven-elixir

Build Status

Getting Started

To use Raven with your projects, edit your mix.exs file and add it as a dependency:

defp deps do
  [{:raven, github: "vishnevskiy/raven-elixir"}]
end

Overview

The goal of this project is to provide a full-feature Sentry client based on the guidelines in Writing a Client on the Sentry documentation.

However currently it only supports a Logger backend that will parse stacktraces and log them to Sentry.

Example

Example

Usage

Setup the application environment in your config.

config :raven,
  dsn: "https://public:secret@app.getsentry.com/1",
  tags: %{
    env: "production"
  }

Install the Logger backend.

Logger.add_backend(Raven)