日志控制
This commit is contained in:
@@ -70,8 +70,8 @@ export class ChatAIService {
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log("-------AI 启动成功-------");
|
logger.log("-------AI 启动成功-------");
|
||||||
console.log(this.ai);
|
logger.log(this.ai);
|
||||||
this.ai.operations;
|
this.ai.operations;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
TipsPanel.show(LanguageUtils.getText("chat_error_code_2001"));
|
TipsPanel.show(LanguageUtils.getText("chat_error_code_2001"));
|
||||||
|
|||||||
@@ -171,7 +171,7 @@ export class ErrorHandler {
|
|||||||
*/
|
*/
|
||||||
public clearErrorLog(): void {
|
public clearErrorLog(): void {
|
||||||
this.errorLog = [];
|
this.errorLog = [];
|
||||||
console.log("Error log cleared");
|
logger.log("Error log cleared");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user