Sha256: 8717d41f6032b80d67884c4bdd93ee5db69296fb7b962dafad3f39dcf0516557
Contents?: true
Size: 878 Bytes
Versions: 12
Compression:
Stored size: 878 Bytes
Contents
# This file is distributed under New Relic's license terms. # See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details. # frozen_string_literal: true require_relative 'active_support_broadcast_logger/instrumentation' require_relative 'active_support_broadcast_logger/chain' require_relative 'active_support_broadcast_logger/prepend' DependencyDetection.defer do named :'active_support_broadcast_logger' depends_on { defined?(ActiveSupport::BroadcastLogger) } executes do NewRelic::Agent.logger.info('Installing ActiveSupport::BroadcastLogger instrumentation') if use_prepend? prepend_instrument ActiveSupport::BroadcastLogger, NewRelic::Agent::Instrumentation::ActiveSupportBroadcastLogger::Prepend else chain_instrument NewRelic::Agent::Instrumentation::ActiveSupportBroadcastLogger::Chain end end end
Version data entries
12 entries across 12 versions & 1 rubygems