ExRollbar
I created this for use mostly in a Nerves 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
Installation
the package can be installed by adding ex_rollbar to your list of dependencies in mix.exs:
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.
Usage
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!"