From 3496346583c73ce79b38185888ef9c67f0fd3368 Mon Sep 17 00:00:00 2001 From: Gabriel Tofvesson Date: Mon, 14 Oct 2024 06:00:26 +0200 Subject: [PATCH] Print newlines to log file --- itemcontroller.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/itemcontroller.lua b/itemcontroller.lua index dd73b57..8ddb870 100644 --- a/itemcontroller.lua +++ b/itemcontroller.lua @@ -20,6 +20,7 @@ local Logger = Logging.getGlobalLogger() Logger:setOutput(function(text) LOG_FILE.write(text) + LOG_FILE.write("\n") LOG_FILE.flush() print(text) end)