Skip to content

Commit c95f8a2

Browse files
committed
lib/dtutils/log - fix screen print check
1 parent 88e4ac1 commit c95f8a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/dtutils/log.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ function dtutils_log.msg(level, ...)
199199
table.remove(args, 1)
200200
end
201201
local log_msg = level.label
202-
if level.engine ~= dt_screen and call_level ~= 0 then
202+
if level.engine ~= dt_print and call_level ~= 0 then
203203
log_msg = log_msg .. dtutils_log.caller(call_level, level.caller_info) .. " "
204204
elseif log_msg:len() > 2 then
205205
log_msg = log_msg .. " "

0 commit comments

Comments
 (0)