Sha256: b4ed6684c77fd4654d355bcedd4ac5d2d74adcb704565bcf3209ce03a680902f
Contents?: true
Size: 369 Bytes
Versions: 2
Compression:
Stored size: 369 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 do |app| Logstasher.setup(app) if app.config.logstasher.enabled end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
logstasher-0.1.1 | lib/logstasher/railtie.rb |
logstasher-0.1.0 | lib/logstasher/railtie.rb |