Sha256: fb34ddc0cd4a2fc54bb316e6b5e81e8fe723bf02010ee9d81df0ab25e3008bb3

Contents?: true

Size: 701 Bytes

Versions: 1

Compression:

Stored size: 701 Bytes

Contents

require "timber/probes/action_controller_base"
require "timber/probes/action_dispatch_debug_exceptions"
require "timber/probes/active_support_log_subscriber"
require "timber/probes/heroku"
require "timber/probes/logger"
require "timber/probes/rack"
require "timber/probes/server"

module Timber
  module Probes
    def self.insert!(middleware, insert_before)
      # Persistent probes. Order is relevant.
      Server.insert!
      Heroku.insert!

      # Transient probes, sorted alphabetically
      ActionControllerBase.insert!
      ActionDispatchDebugExceptions.insert!
      ActiveSupportLogSubscriber.insert!
      Logger.insert!
      Rack.insert!(middleware, insert_before)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
timberio-1.0.0.beta1 lib/timber/probes.rb