Sha256: 297636d280eae3c456cd043bfc75d7f86ebe6d7e09bd99800ac586c3b4c70234
Contents?: true
Size: 626 Bytes
Versions: 4
Compression:
Stored size: 626 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 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
4 entries across 4 versions & 1 rubygems