日志控制

This commit is contained in:
chen wei bo
2025-09-22 09:56:46 +08:00
parent fe534cacaf
commit 1403079cc0
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -70,8 +70,8 @@ export class ChatAIService {
},
});
console.log("-------AI 启动成功-------");
console.log(this.ai);
logger.log("-------AI 启动成功-------");
logger.log(this.ai);
this.ai.operations;
} catch (error) {
TipsPanel.show(LanguageUtils.getText("chat_error_code_2001"));
+1 -1
View File
@@ -171,7 +171,7 @@ export class ErrorHandler {
*/
public clearErrorLog(): void {
this.errorLog = [];
console.log("Error log cleared");
logger.log("Error log cleared");
}
/**