From 7910527d99ee1c3e93adcb2de39b094c77d45b73 Mon Sep 17 00:00:00 2001 From: David Bailey Date: Mon, 17 Apr 2023 16:34:16 +0200 Subject: [PATCH] refactor: properly format artefact logs --- lib/comfpile/artefact.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/comfpile/artefact.rb b/lib/comfpile/artefact.rb index b8ba9c1..f3ccebc 100644 --- a/lib/comfpile/artefact.rb +++ b/lib/comfpile/artefact.rb @@ -110,7 +110,7 @@ module Comfpile @log_current_line = text @log_current_level = level - puts "> #{@state} #{@target}: #{text}" + puts "> %-30s %s:\n %s" % [@stage, @target, text] nil end