1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2024-11-20 02:18:20 +01:00
antd-web-apps/apps/silk/Logger.lua

20 lines
297 B
Lua
Raw Normal View History

2018-08-21 15:16:36 +02:00
Logger = Object:extends{registry = {}, levels = {}}
function Logger:initialize()
end
function Logger:log(msg,level)
end
function Logger:info(msg)
self.log(msg, "INFO")
end
function Logger:debug(msg)
self.log(msg, "DEBUG")
end
function Logger:error(msg)
self.log(msg, "ERROR")
end