MCPcopy Create free account
hub / github.com/IBM/mcp-cli / log_debug

Method log_debug

diagnostics/cli_tools_diagnostic.py:90–95  ·  view source on GitHub ↗

Debug logging with rich formatting if available.

(self, message: str, **kwargs)

Source from the content-addressed store, hash-verified

88 self.logger.setLevel(logging.DEBUG)
89
90 def log_debug(self, message: str, **kwargs):
91 """Debug logging with rich formatting if available."""
92 if self.debug_mode:
93 if self.console:
94 self.console.print(f"[dim]DEBUG: {message}[/dim]", **kwargs)
95 self.logger.debug(message)
96
97 def log_error(self, message: str, **kwargs):
98 """Error logging with rich formatting if available."""

Callers 4

diagnose_tool_managerMethod · 0.95
_test_tool_executionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected