Sha256: e1a4dc90e2b34e43273c3c8e07c8d2f9df60204e157132ccd14630e726e572ca

Contents?: true

Size: 303 Bytes

Versions: 4

Compression:

Stored size: 303 Bytes

Contents

# Mocked NewRelic::Agent used for testing

module NewRelic
  module Agent
    @@message = nil
    @@hash = nil

    def self.notice_error(message, hash)
      @@message = message
      @@hash = hash
    end

    def self.message
      @@message
    end

    def self.hash
      @@hash
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
semantic_logger-2.10.0 test/newrelic_rpm.rb
semantic_logger-2.9.2 test/newrelic_rpm.rb
semantic_logger-2.9.1 test/newrelic_rpm.rb
semantic_logger-2.9.0 test/newrelic_rpm.rb