diff --git a/Zframework/log.lua b/Zframework/log.lua index b727064f..7be8318b 100644 --- a/Zframework/log.lua +++ b/Zframework/log.lua @@ -8,6 +8,7 @@ end local LOG=setmetatable({logs=logs},{ __call=function(_,message) + print(message) log(message) end }) @@ -16,4 +17,4 @@ function LOG.read() return table.concat(logs,"\n") end -return LOG \ No newline at end of file +return LOG