Sha256: 359d8c978fb9b912f1f048c6b4b8d3e2cc25d8b8a2e7fb59bd60ddb69493d582
Contents?: true
Size: 638 Bytes
Versions: 17
Compression:
Stored size: 638 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 module NewRelic module Agent module Instrumentation module ActiveSupportLogger # Mark @skip_instrumenting on any broadcasted loggers to instrument Rails.logger only def broadcast_with_tracing(logger) NewRelic::Agent::Instrumentation::Logger.mark_skip_instrumenting(logger) yield rescue => error NewRelic::Agent.notice_error(error) raise end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems