Fix log() printing table id instead of message

This commit is contained in:
crater2150 2014-04-25 16:23:54 +02:00
parent 76f795e922
commit 19923b1c26

View file

@ -66,6 +66,6 @@ function simplelog.loggers.stdio(msg, severity)
print(msg)
end
simplelog.mt.__call = simplelog.log
simplelog.mt.__call = function(t,message) simplelog.log(message) end
return setmetatable(simplelog, simplelog.mt)