Sha256: 99559ceed65ee2cc524b20515c5b19f67368d17b64da93aa5bcce34fa37e6f5f
Contents?: true
Size: 667 Bytes
Versions: 2
Compression:
Stored size: 667 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. require_relative 'logger/instrumentation' require_relative 'logger/chain' require_relative 'logger/prepend' DependencyDetection.defer do named :logger depends_on { defined?(::Logger) } executes do ::NewRelic::Agent.logger.info "Installing Logger instrumentation" end executes do if use_prepend? prepend_instrument ::Logger, NewRelic::Agent::Instrumentation::Logger::Prepend else chain_instrument NewRelic::Agent::Instrumentation::Logger end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
newrelic_rpm-8.2.0 | lib/new_relic/agent/instrumentation/logger.rb |
newrelic_rpm-8.1.0 | lib/new_relic/agent/instrumentation/logger.rb |