# 🌲 Timber integration for Plug
[](LICENSE.md)
[](https://hex.pm/packages/timber_plug)
[](https://hexdocs.pm/timber_plug/readme.html)
[](https://travis-ci.org/timberio/timber-elixir-plug)
The Timber Plug library provides enhanced logging for your Plug-based applications.
## Installation
1. Ensure that you have both `:timber` (version 3.0.0 or later) and `:timber_plug` listed
as dependencies in `mix.exs`:
```elixir
def deps do
[
{:timber, "~> 3.0"},
{:timber_plug, "~> 1.0"}
]
end
```
2. Run `mix deps.get` to get the dependencies.
3. See the documentation for
[`Timber.Plug.Event`](https://hexdocs.pm/timber_plug/Timber.Plug.Event.html),
[`Timber.Plug.HTTPContext`](https://hexdocs.pm/timber_plug/Timber.Plug.HTTPContext.html),
and
[`Timber.Plug.SessionContext`](https://hexdocs.pm/timber_plug/Timber.Plug.SessionContext.html)
for more information about how and where to install these plugs based on the
information you want to collect.
## License
This project is licensed under the ISC License - see [LICENSE] for more details.