MCPcopy
hub / github.com/agent-infra/sandbox / debug

Method debug

sdk/js/src/core/logging/logger.ts:121–125  ·  view source on GitHub ↗

* Logs a debug message if debug logging is enabled. * @param message - The message to log * @param args - Additional arguments to log

(message: string, ...args: unknown[])

Source from the content-addressed store, hash-verified

119 * @param args - Additional arguments to log
120 */
121 public debug(message: string, ...args: unknown[]): void {
122 if (this.isDebug()) {
123 this.logger.debug(message, ...args);
124 }
125 }
126
127 /**
128 * Checks if info logging is enabled.

Callers

nothing calls this directly

Calls 2

isDebugMethod · 0.95
debugMethod · 0.65

Tested by

no test coverage detected