优化LOG库,LOG.print功能更多

This commit is contained in:
MrZ626
2020-09-04 20:20:51 +08:00
parent 4f8810a693
commit e681a43fb1
5 changed files with 67 additions and 38 deletions

View File

@@ -39,10 +39,10 @@ local function loadCC()
end
if not f then
CCloader_filename[system]=nil
LOG.print("failed to load CC")
LOG.print("failed to load CC","warn",color.red)
return
end
LOG.print("CC load successfully")
LOG.print("CC load successfully","warn",color.green)
f()
BOT={
getConf= cc.get_default_config ,--()options,weights