Sha256: e2d460318fa12ec6e4d755601ba906875a54ee6f419a9ce3b9094f884a4eafa2
Contents?: true
Size: 714 Bytes
Versions: 4
Compression:
Stored size: 714 Bytes
Contents
# encoding: utf-8 # This file is distributed under New Relic's license terms. # See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details. module NewRelic::Agent::Instrumentation module ActiveSupportLogger module Chain def instrument! ::ActiveSupport::Logger.module_eval do include NewRelic::Agent::Instrumentation::ActiveSupportLogger def broadcast_with_new_relic(logger) broadcast_with_tracing(logger) { broadcast_without_newrelic(logger) } end alias broadcast_without_newrelic broadcast alias broadcast broadcast_with_new_relic end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems