Sha256: 5596d81335c3b74abf180807f7fca6348b3f36348242c37a108a2aac0619b61a

Contents?: true

Size: 978 Bytes

Versions: 14

Compression:

Stored size: 978 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::Agent::Instrumentation
  module ActiveSupportBroadcastLogger::Prepend
    include NewRelic::Agent::Instrumentation::ActiveSupportBroadcastLogger

    def add(*args)
      record_one_broadcast_with_new_relic(*args) { super }
    end

    def debug(*args)
      record_one_broadcast_with_new_relic(*args) { super }
    end

    def info(*args)
      record_one_broadcast_with_new_relic(*args) { super }
    end

    def warn(*args)
      record_one_broadcast_with_new_relic(*args) { super }
    end

    def error(*args)
      record_one_broadcast_with_new_relic(*args) { super }
    end

    def fatal(*args)
      record_one_broadcast_with_new_relic(*args) { super }
    end

    def unknown(*args)
      record_one_broadcast_with_new_relic(*args) { super }
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
newrelic_rpm-9.16.0 lib/new_relic/agent/instrumentation/active_support_broadcast_logger/prepend.rb
newrelic_rpm-9.15.0 lib/new_relic/agent/instrumentation/active_support_broadcast_logger/prepend.rb
newrelic_rpm-9.14.0 lib/new_relic/agent/instrumentation/active_support_broadcast_logger/prepend.rb
newrelic_rpm-9.13.0 lib/new_relic/agent/instrumentation/active_support_broadcast_logger/prepend.rb
newrelic_rpm-9.12.0 lib/new_relic/agent/instrumentation/active_support_broadcast_logger/prepend.rb
newrelic_rpm-9.11.0 lib/new_relic/agent/instrumentation/active_support_broadcast_logger/prepend.rb
newrelic_rpm-9.10.2 lib/new_relic/agent/instrumentation/active_support_broadcast_logger/prepend.rb
newrelic_rpm-9.10.1 lib/new_relic/agent/instrumentation/active_support_broadcast_logger/prepend.rb
newrelic_rpm-9.10.0 lib/new_relic/agent/instrumentation/active_support_broadcast_logger/prepend.rb
newrelic_rpm-9.9.0 lib/new_relic/agent/instrumentation/active_support_broadcast_logger/prepend.rb
newrelic_rpm-9.8.0 lib/new_relic/agent/instrumentation/active_support_broadcast_logger/prepend.rb
newrelic_rpm-9.7.1 lib/new_relic/agent/instrumentation/active_support_broadcast_logger/prepend.rb
newrelic_rpm-9.7.0 lib/new_relic/agent/instrumentation/active_support_broadcast_logger/prepend.rb
newrelic_rpm-9.6.0 lib/new_relic/agent/instrumentation/active_support_broadcast_logger/prepend.rb