类说明: Log类为日志相关操作,在使用前请先在sqr_main中初始化。
Log
//初始化日志器 Log({ "normal": "/dp_s/log/normal.log", "error": "/dp_s/log/error.log" });
公有函数:
function Put(Type,Msg)
Type
Msg
这里给出一个例子:
Log.Put("normal", "测试日志"); Log.Put("error", "测试错误日志");