class Sawmill::StatsRailtie

Railtie that sets up a stats logger. Installs a Sawmill::StatsMiddleware to enable a stats log.

To install into a Rails app, include this line in your config/application.rb:

require 'sawmill/stats_railtie'

It should appear before your application configuration.

You can then configure the stats logs using the standard rails configuration mechanism. The configuration lives in the config.sawmill_stats configuration namespace. See Sawmill::StatsRailtie::Configuration for the list of options.