mirror of
https://github.com/lxsang/antd-web-apps
synced 2024-11-20 02:18:20 +01:00
20 lines
297 B
Lua
20 lines
297 B
Lua
|
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
|