日志控制
This commit is contained in:
@@ -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"));
|
||||
|
||||
@@ -171,7 +171,7 @@ export class ErrorHandler {
|
||||
*/
|
||||
public clearErrorLog(): void {
|
||||
this.errorLog = [];
|
||||
console.log("Error log cleared");
|
||||
logger.log("Error log cleared");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user