README.md

# ExRollbar

I created this for use mostly in a [Nerves](http://nerves-project.org/) project.
It uses the Client side api of Rollbar, instead of the serverside.
If you have a server side Elixir application (phoenix, cowboy, plug etc) you probably want
[Rollbax](https://github.com/elixir-addicts/rollbax)

## Installation
the package can be installed by adding `ex_rollbar` to your list of dependencies in `mix.exs`:

```elixir
def deps do
  [{:ex_rollbar, "~> 0.1.0"}]
end
```
Also be sure to add `:ex_rollbar` to your `included_applications: []`

the docs can be found at [https://hexdocs.pm/ex_rollbar](https://hexdocs.pm/ex_rollbar).

## Usage

```elixir
iex(1)> ExRollbar.setup access_token: "ffb8056a621f309eeb1ed87fa0c7",
...(1)> environment: Mix.env()
...(1)> enable_logger: true
:ok
iex(2)> require Logger
Logger
iex(3)> Logger.error "Hello rollbar!"
```