Sha256: bd1ffcb1d7bf16e74c208307781f836fed45121b37338d50a4eb07d28f01b6b9

Contents?: true

Size: 760 Bytes

Versions: 11

Compression:

Stored size: 760 Bytes

Contents

require "timber/probes/action_controller_log_subscriber"
require "timber/probes/action_controller_user_context"
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!
      ActionControllerUserContext.insert!
      ActionDispatchDebugExceptions.insert!
      ActionViewLogSubscriber.insert!
      ActiveRecordLogSubscriber.insert!
      ActiveSupportTaggedLogging.insert!
      RailsRackLogger.insert!
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
timber-1.1.14 lib/timber/probes.rb
timber-1.1.13 lib/timber/probes.rb
timber-1.1.12 lib/timber/probes.rb
timber-1.1.11 lib/timber/probes.rb
timber-1.1.10 lib/timber/probes.rb
timber-1.1.9 lib/timber/probes.rb
timber-1.1.8 lib/timber/probes.rb
timber-1.1.7 lib/timber/probes.rb
timber-1.1.6 lib/timber/probes.rb
timber-1.1.5 lib/timber/probes.rb
timber-1.1.4 lib/timber/probes.rb