Sha256: d8a1c8b97b398fc9eb58f6ff1c642c35b1d8b8bfce5c9eafc943c95d9d8036f7
Contents?: true
Size: 662 Bytes
Versions: 40
Compression:
Stored size: 662 Bytes
Contents
describe Appsignal::Utils::IntegrationLogger do let(:log_stream) { std_stream } let(:logs) { log_contents(log_stream) } let(:logger) do Appsignal::Utils::IntegrationLogger.new(log_stream).tap do |l| l.formatter = logger_formatter end end it "logs messages" do logger.debug("debug message") logger.info("info message") logger.warn("warning message") logger.error("error message") expect(logs).to contains_log(:debug, "debug message") expect(logs).to contains_log(:info, "info message") expect(logs).to contains_log(:warn, "warning message") expect(logs).to contains_log(:error, "error message") end end
Version data entries
40 entries across 40 versions & 1 rubygems