From 8548855d7f2f31647e8ec255d500a1bb2a54939e Mon Sep 17 00:00:00 2001 From: mcplayer3 Date: Tue, 21 Oct 2025 20:34:06 +1100 Subject: [PATCH] Fix log tool not printing some log entries --- halyde/apps/log.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/halyde/apps/log.lua b/halyde/apps/log.lua index 6efc8fb..0642bc8 100644 --- a/halyde/apps/log.lua +++ b/halyde/apps/log.lua @@ -26,12 +26,12 @@ local function viewlog(logname) else entry = string.sub(entry, 1, -1) end - if entry:sub(1, 4) == "INFO" then - print(entry) - elseif entry:sub(1, 4) == "WARN" then + if entry:sub(1, 4) == "WARN" then print("\x1b[93m" .. entry) elseif entry:sub(1, 5) == "ERROR" then print("\x1b[91m" .. entry) + else + print(entry) end entry = "" else