Sha256: be0f292d2a05f833a7cc3de30438f41acab2f9f8c4b945dbfa6ef0befe15fe56

Contents?: true

Size: 663 Bytes

Versions: 4

Compression:

Stored size: 663 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/rails_rack_logger"

module Timber
  # Namespace for all probes.
  # @private
  module Probes
    def self.insert!
      ActionControllerLogSubscriber.insert!
      ActionDispatchDebugExceptions.insert!
      ActionViewLogSubscriber.insert!
      ActiveRecordLogSubscriber.insert!
      ActiveSupportTaggedLogging.insert!
      RailsRackLogger.insert!
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
timber-1.1.3 lib/timber/probes.rb
timber-1.1.2 lib/timber/probes.rb
timber-1.1.1 lib/timber/probes.rb
timber-1.1.0 lib/timber/probes.rb