Sha256: 79b4b903b6fda2d679dc0c9dbb993f4733bb31d5715fdb9ae5d89e18065b4748

Contents?: true

Size: 694 Bytes

Versions: 5

Compression:

Stored size: 694 Bytes

Contents

require "timber/probes/action_controller_log_subscriber"
require "timber/probes/action_dispatch_debug_exceptions"
require "timber/probes/action_view_log_subscriber"
require "timber/probes/active_record_log_subscriber"
require "timber/probes/rack_http_context"
require "timber/probes/rails_rack_logger"

module Timber
  # Namespace for all probes.
  # @private
  module Probes
    def self.insert!(middleware, insert_before)
      ActionControllerLogSubscriber.insert!
      ActionDispatchDebugExceptions.insert!
      ActionViewLogSubscriber.insert!
      ActiveRecordLogSubscriber.insert!
      RackHTTPContext.insert!(middleware, insert_before)
      RailsRackLogger.insert!
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
timber-1.0.3 lib/timber/probes.rb
timberio-1.0.3 lib/timber/probes.rb
timberio-1.0.2 lib/timber/probes.rb
timberio-1.0.1 lib/timber/probes.rb
timberio-1.0.0 lib/timber/probes.rb