🌲 Timber integration for Plug
The Timber Plug library provides enhanced logging for your Plug-based applications.
Installation
Ensure that you have both
:timber
(version 3.0.0 or later) and:timber_plug
listed as dependencies inmix.exs
:def deps do [ {:timber, "~> 3.0"}, {:timber_plug, "~> 1.0"} ] end
Run
mix deps.get
to get the dependencies.See the documentation for
Timber.Plug.Event
,Timber.Plug.HTTPContext
, andTimber.Plug.SessionContext
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.