Sha256: 78edf484b6cbf7355af0817e458c7b3862d1694450a5860d0b7557f37c328fae
Contents?: true
Size: 407 Bytes
Versions: 14
Compression:
Stored size: 407 Bytes
Contents
require 'rails/railtie' require 'action_view/log_subscriber' require 'action_controller/log_subscriber' module LogStasher class Railtie < Rails::Railtie config.logstasher = ActiveSupport::OrderedOptions.new config.logstasher.enabled = false initializer :logstasher, :before => :load_config_initializers do |app| LogStasher.setup(app) if app.config.logstasher.enabled end end end
Version data entries
14 entries across 14 versions & 1 rubygems