From b2e8535f0b71089c57ca52641adcb578b0679b69 Mon Sep 17 00:00:00 2001 From: mvandervoord Date: Fri, 18 Oct 2024 22:02:13 -0400 Subject: [PATCH] promote loginator so we know where to find it from anywhere. --- lib/ceedling/loginator.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ceedling/loginator.rb b/lib/ceedling/loginator.rb index 5b635d32..8588160d 100644 --- a/lib/ceedling/loginator.rb +++ b/lib/ceedling/loginator.rb @@ -17,6 +17,7 @@ class Loginator constructor :verbosinator, :file_wrapper, :system_wrapper def setup() + $loginator = self @decorators = false # Friendly robustification for certain testing scenarios @@ -311,5 +312,5 @@ def logfile(string, stream='') end END { - @ceedling[:loginator].wrapup + $loginator.wrapup unless $loginator.nil? } \ No newline at end of file