lib/console/capture.rb in console-1.28.1 vs lib/console/capture.rb in console-1.29.0

- old
+ new

@@ -2,10 +2,11 @@ # Released under the MIT License. # Copyright, 2019-2024, by Samuel Williams. require_relative "filter" +require_relative "output/failure" module Console # A general sink which captures all events into a buffer. class Capture def initialize @@ -56,10 +57,10 @@ def verbose? @verbose end - def call(subject = nil, *arguments, severity: UNKNOWN, event: nil, **options, &block) + def call(subject = nil, *arguments, severity: UNKNOWN, event: nil, **options, &block) record = { time: ::Time.now.iso8601, severity: severity, **options, }