fix: 日志小优化

This commit is contained in:
wangzhongjie 2025-06-25 14:50:29 +08:00
parent cd282045d3
commit cb302cf9c8
2 changed files with 1 additions and 2 deletions

View File

@ -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)
}) })
}) })
} }

View File

@ -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";