Sha256: 835df979de54ce37790e76afa7165c5ac82c73f50bf3f40875ba43e21952a9bb

Contents?: true

Size: 204 Bytes

Versions: 9

Compression:

Stored size: 204 Bytes

Contents

class FakeLogger
  def initialize
    @logger = StringIO.new
  end

  def info(message)
    @logger.write(message)
  end

  def reset
    @logger.string = ""
  end

  def get
    @logger.string
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
raygun4ruby-4.0.2 spec/support/fake_logger.rb
raygun4ruby-4.0.1 spec/support/fake_logger.rb
raygun4ruby-4.0.0.pre spec/support/fake_logger.rb
raygun4ruby-3.2.3 spec/support/fake_logger.rb
raygun4ruby-3.2.3.pre spec/support/fake_logger.rb
raygun4ruby-3.2.1 spec/support/fake_logger.rb
raygun4ruby-3.2.0 spec/support/fake_logger.rb
raygun4ruby-3.1.1 spec/support/fake_logger.rb
raygun4ruby-3.1.0 spec/support/fake_logger.rb