Sha256: 6583ecca086544c19913ffb39d000f93f713ae5b3fd6a5e3c3582bd6a76d12fd

Contents?: true

Size: 549 Bytes

Versions: 11

Compression:

Stored size: 549 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.

# A stub object that we can use in place of a real Logger instance when
# the agent is disabled.
module NewRelic
  module Agent
    class NullLogger
      def fatal(*args); end
      def error(*args); end
      def warn(*args);  end
      def info(*args);  end
      def debug(*args); end

      def method_missing(method, *args, &blk)
        nil
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
newrelic_rpm-8.2.0 lib/new_relic/agent/null_logger.rb
newrelic_rpm-8.1.0 lib/new_relic/agent/null_logger.rb
newrelic_rpm-8.0.0 lib/new_relic/agent/null_logger.rb
newrelic_rpm-7.2.0 lib/new_relic/agent/null_logger.rb
newrelic_rpm-7.1.0 lib/new_relic/agent/null_logger.rb
newrelic_rpm-7.0.0 lib/new_relic/agent/null_logger.rb
newrelic_rpm-6.15.0 lib/new_relic/agent/null_logger.rb
newrelic_rpm-6.14.0 lib/new_relic/agent/null_logger.rb
newrelic_rpm-6.13.1 lib/new_relic/agent/null_logger.rb
newrelic_rpm-6.13.0 lib/new_relic/agent/null_logger.rb
newrelic_rpm-6.12.0.367 lib/new_relic/agent/null_logger.rb