feat: UserEdit拆分成General和MAA两个文件,方便后期维护

This commit is contained in:
2025-09-03 19:12:25 +08:00
parent 4fa7313b4f
commit f26d336195
5 changed files with 2147 additions and 1 deletions

View File

@@ -53,7 +53,9 @@ export function setupLogger() {
log.transports.file.maxSize = 50 * 1024 * 1024
// 禁用自动归档,因为我们按日期分文件
log.transports.file.archiveLog = null
log.transports.file.archiveLog = () => {
/* do nothing */
};
// 捕获未处理的异常和Promise拒绝
log.catchErrors({