MCPcopy Create free account
hub / github.com/echoVic/blade-code / log

Method log

src/tools/ToolManager.ts:393–397  ·  view source on GitHub ↗

* 日志记录

(message: string, data?: any)

Source from the content-addressed store, hash-verified

391 * 日志记录
392 */
393 private log(message: string, data?: any): void {
394 if (this.config.debug) {
395 console.log(`[ToolManager] ${message}`, data || '');
396 }
397 }
398}

Callers 10

constructorMethod · 0.95
registerToolMethod · 0.95
unregisterToolMethod · 0.95
setToolEnabledMethod · 0.95
callToolMethod · 0.95
clearHistoryMethod · 0.95
handlePreCheckFailureFunction · 0.45
confirmExecutionFunction · 0.45
executeCommandFunction · 0.45
executeCommandMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected