Fix bug from merge conflict
This commit is contained in:
parent
8533d837cd
commit
e62ab1d4f8
10
logging.lua
10
logging.lua
@ -224,13 +224,11 @@ function Logging.deepStringify(value)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function Logger:_doPrint(level, message, ...)
|
function Logger:_doPrint(level, message, ...)
|
||||||
if LogLevel.isGreaterOrEqual(level, self.level) then
|
local result = { tostring(LogLevel[level]), Logging.deepStringify(message) }
|
||||||
local result = { tostring(LogLevel[level]), Logging.deepStringify(message) }
|
for _,v in ipairs({...}) do
|
||||||
for _,v in ipairs({...}) do
|
table.insert(result, Logging.deepStringify(v))
|
||||||
table.insert(result, Logging.deepStringify(v))
|
|
||||||
end
|
|
||||||
self.output(table.concat(result, " "))
|
|
||||||
end
|
end
|
||||||
|
self.output(table.concat(result, " "), level)
|
||||||
end
|
end
|
||||||
|
|
||||||
function Logger:trace(message, ...)
|
function Logger:trace(message, ...)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user