spec/multi_logger_spec.rb in logstash-logger-0.14.0 vs spec/multi_logger_spec.rb in logstash-logger-0.14.1
- old
+ new
@@ -27,26 +27,6 @@
expect(logger).to receive(:info).with("test")
end
multi_logger.info("test")
end
-
- context "tagged logging" do
- it "forwards tags to each logger's formatter" do
- subject.loggers.each do |logger|
- expect(logger.formatter).to receive(:tagged).with("foo")
- end
-
- subject.tagged("foo") do |logger|
- logger.debug("bar")
- end
- end
-
- it "clears tags on each logger's formatter when flushing" do
- subject.loggers.each do |logger|
- expect(logger.formatter).to receive(:clear_tags!)
- end
-
- subject.flush
- end
- end
end