fix: 日志小优化
This commit is contained in:
parent
cd282045d3
commit
cb302cf9c8
@ -34,7 +34,6 @@ class DbUtils {
|
|||||||
console.error(DbTag, `db rdbStore init fail reason:${err}`);
|
console.error(DbTag, `db rdbStore init fail reason:${err}`);
|
||||||
reject(err)
|
reject(err)
|
||||||
})
|
})
|
||||||
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -8,7 +8,7 @@ const LOG_CHUNK_PREFIX = '[切割消息序号';
|
|||||||
|
|
||||||
class logWorker {
|
class logWorker {
|
||||||
private static instance: logWorker | null = null;
|
private static instance: logWorker | null = null;
|
||||||
private workerInstance = new worker.ThreadWorker("entry/ets/workers/Log.ets")
|
private workerInstance: worker.ThreadWorker | null = null;
|
||||||
// 是否开启日志 1开启
|
// 是否开启日志 1开启
|
||||||
private isLogEnabled: string = "0";
|
private isLogEnabled: string = "0";
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user