# 🌲 Timber exception capturing for Elixir
[](LICENSE.md)
[](https://hex.pm/packages/timber-exceptions)
[](https://hexdocs.pm/timber-exceptions/index.html)
[](https://travis-ci.org/timberio/timber-elixir-exceptions)
The Timber Exceptions library provides enhanced logging of exceptions that occur
in your Elixir software.
## Installation
Ensure that you have both `:timber` (version 3.0.0 or later) and `:timber_ecto` listed
as dependencies in `mix.exs`:
```elixir
def deps do
[
{:timber, "~> 3.0"},
{:timber_exceptions, "~> 2.0"}
]
end
```
Then run `mix deps.get`.
Add the translator in your application's start function:
```elixir
# ...
:ok = Logger.add_translator({Timber.Exceptions.Translator, :translate})
opts = [strategy: :one_for_one, name: MyApp.Supervisor]
Supervisor.start_link(children, opts)
```
## License
This project is licensed under the ISC License - see [LICENSE] for more details.