From c95f8a23b2e371c69727ca2dc9a08ffa8b6919aa Mon Sep 17 00:00:00 2001 From: Bill Ferguson Date: Tue, 18 Jun 2024 00:30:34 -0400 Subject: [PATCH] lib/dtutils/log - fix screen print check --- lib/dtutils/log.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dtutils/log.lua b/lib/dtutils/log.lua index 6910c8e..28dce69 100644 --- a/lib/dtutils/log.lua +++ b/lib/dtutils/log.lua @@ -199,7 +199,7 @@ function dtutils_log.msg(level, ...) table.remove(args, 1) end local log_msg = level.label - if level.engine ~= dt_screen and call_level ~= 0 then + if level.engine ~= dt_print and call_level ~= 0 then log_msg = log_msg .. dtutils_log.caller(call_level, level.caller_info) .. " " elseif log_msg:len() > 2 then log_msg = log_msg .. " "