🌲 Timber integration for Plug

ISC License Hex.pm Documentation Build Status

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:

    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, Timber.Plug.HTTPContext, and Timber.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.