Sha256: f052b120579f9fcf2577eb4476b30789924c4c5358f7e16fc9175442c872c7ec

Contents?: true

Size: 789 Bytes

Versions: 10

Compression:

Stored size: 789 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/active_support_tagged_logging"
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!
      ActiveSupportTaggedLogging.insert!
      RackHTTPContext.insert!(middleware, insert_before)
      RailsRackLogger.insert!
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
timber-1.0.13 lib/timber/probes.rb
timber-1.0.12 lib/timber/probes.rb
timber-1.0.11 lib/timber/probes.rb
timber-1.0.10 lib/timber/probes.rb
timber-1.0.9 lib/timber/probes.rb
timber-1.0.8 lib/timber/probes.rb
timber-1.0.7 lib/timber/probes.rb
timber-1.0.6 lib/timber/probes.rb
timber-1.0.5 lib/timber/probes.rb
timber-1.0.4 lib/timber/probes.rb