添加log模块,用于代替之前缺少音频文件弹出的消息框
也给缺少图片和加载错误语言等地方添加了日志 控制台添加log命令输出日志
This commit is contained in:
@@ -341,6 +341,20 @@ local commands={}do
|
||||
"Usage: mes <check|info|warn|error>",
|
||||
},
|
||||
}
|
||||
commands.log={
|
||||
code=function()
|
||||
local l=LOG.logs
|
||||
for i=1,#l do
|
||||
log(l[i])
|
||||
end
|
||||
end,
|
||||
description="Show the logs",
|
||||
details={
|
||||
"Show the logs",
|
||||
"",
|
||||
"Usage: log",
|
||||
},
|
||||
}
|
||||
commands.openurl={
|
||||
code=function(url)
|
||||
if url~=""then
|
||||
|
||||
Reference in New Issue
Block a user