Sha256: 15584eaf45fafc5fedf92ddf00313fe2364e34e4abcee5285dd08ef2d6768637

Contents?: true

Size: 779 Bytes

Versions: 23

Compression:

Stored size: 779 Bytes

Contents

require "timber/integrations/action_controller/log_subscriber"
require "timber/integrations/action_dispatch/debug_exceptions"
require "timber/integrations/action_view/log_subscriber"
require "timber/integrations/active_record/log_subscriber"
require "timber/integrations/active_support/tagged_logging"
require "timber/integrations/rack"
require "timber/integrations/rails/rack_logger"

module Timber
  # Namespace for all integrations.
  # @private
  module Integrations
    def self.integrate!
      ActionController::LogSubscriber.integrate!
      ActionDispatch::DebugExceptions.integrate!
      ActionView::LogSubscriber.integrate!
      ActiveRecord::LogSubscriber.integrate!
      ActiveSupport::TaggedLogging.integrate!
      Rails::RackLogger.integrate!
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
timber-2.0.24 lib/timber/integrations.rb
timber-2.0.23 lib/timber/integrations.rb
timber-2.0.22 lib/timber/integrations.rb
timber-2.0.21 lib/timber/integrations.rb
timber-2.0.20 lib/timber/integrations.rb
timber-2.0.19 lib/timber/integrations.rb
timber-2.0.17 lib/timber/integrations.rb
timber-2.0.16 lib/timber/integrations.rb
timber-2.0.15 lib/timber/integrations.rb
timber-2.0.14 lib/timber/integrations.rb
timber-2.0.12 lib/timber/integrations.rb
timber-2.0.11 lib/timber/integrations.rb
timber-2.0.10 lib/timber/integrations.rb
timber-2.0.9 lib/timber/integrations.rb
timber-2.0.8 lib/timber/integrations.rb
timber-2.0.7 lib/timber/integrations.rb
timber-2.0.6 lib/timber/integrations.rb
timber-2.0.5 lib/timber/integrations.rb
timber-2.0.4 lib/timber/integrations.rb
timber-2.0.3 lib/timber/integrations.rb