Railtie that replaces the default Rails logger with a Sawmill logger. Sets the Rails logger to a Sawmill::Logger, and installs a Sawmill::LogRecordMiddleware to enable record-based logging.
To install into a Rails app, include this line in your config/application.rb:
require 'sawmill/railtie'
It should appear before your application configuration.
You can then configure sawmill using the standard rails configuration mechanism. The sawmill configuration lives in the config.sawmill configuration namespace. See Sawmill::Railtie::Configuration for the configuration options.