Fix log() printing table id instead of message
This commit is contained in:
parent
76f795e922
commit
19923b1c26
|
@ -66,6 +66,6 @@ function simplelog.loggers.stdio(msg, severity)
|
||||||
print(msg)
|
print(msg)
|
||||||
end
|
end
|
||||||
|
|
||||||
simplelog.mt.__call = simplelog.log
|
simplelog.mt.__call = function(t,message) simplelog.log(message) end
|
||||||
|
|
||||||
return setmetatable(simplelog, simplelog.mt)
|
return setmetatable(simplelog, simplelog.mt)
|
||||||
|
|
Loading…
Reference in a new issue