mirror of
https://github.com/lxsang/antd-lua-plugin
synced 2024-12-27 09:58:21 +01:00
fix logging API bug
All checks were successful
gitea-sync/antd-lua-plugin/pipeline/head This commit looks good
All checks were successful
gitea-sync/antd-lua-plugin/pipeline/head This commit looks good
This commit is contained in:
parent
7a1c58009b
commit
869f13129a
@ -76,11 +76,11 @@ if HEADER["User-Agent"] and HEADER["User-Agent"]:match("Mobi") then
|
|||||||
end
|
end
|
||||||
|
|
||||||
function LOG_INFO(fmt,...)
|
function LOG_INFO(fmt,...)
|
||||||
ulib.syslog(5,string.format(fmt or "LOG", table.unpack({...}) or ""))
|
ulib.syslog(5,string.format(fmt or "LOG",...))
|
||||||
end
|
end
|
||||||
|
|
||||||
function LOG_ERROR(fmt,...)
|
function LOG_ERROR(fmt,...)
|
||||||
ulib.syslog(3,string.format(fmt or "ERROR", table.unpack({...}) or ""))
|
ulib.syslog(3,string.format(fmt or "ERROR",...))
|
||||||
end
|
end
|
||||||
|
|
||||||
function has_module(m)
|
function has_module(m)
|
||||||
|
Loading…
Reference in New Issue
Block a user