From 3c339a372a53fc51cfca11696c41df8d4b77c5b7 Mon Sep 17 00:00:00 2001 From: Gabriel Tofvesson Date: Mon, 14 Oct 2024 05:59:29 +0200 Subject: [PATCH] Empty sentinel list for root cloneNonRecursive --- logging.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logging.lua b/logging.lua index f06d5aa..d3af8e7 100644 --- a/logging.lua +++ b/logging.lua @@ -151,7 +151,7 @@ function Logger:_doPrint(level, message, ...) if LogLevel.isGreaterOrEqual(level, self.level) then local result = { tostring(LogLevel[level]), message } for _,v in ipairs({...}) do - _simpleStringify(cloneNonRecursive(v), result) + _simpleStringify(cloneNonRecursive(v, {}), result) end self.output(table.concat(result, " ")) end