This commit is contained in:
dgflash
2023-01-12 17:08:17 +08:00
parent fc081490a2
commit ff339637bb

View File

@@ -104,10 +104,14 @@ oops.log.table(object);
/**
* 打印标准日志
* @param msg 日志消息
* @param describe 标题描述
*/
static trace(msg: any, describe?: string) {
this.print(LogType.Trace, msg, "", describe)
static trace(msg: any) {
// 标记没有打开,不打印该日志
if (!this.isOpen(LogType.Trace)) {
return;
}
console.log(msg);
}
/**