MCPcopy Create free account
hub / github.com/CodeGraphContext/CodeGraphContext / debug_logger

Function debug_logger

src/codegraphcontext/utils/debug_log.py:88–91  ·  view source on GitHub ↗

Log debug message if log level allows

(msg)

Source from the content-addressed store, hash-verified

86 return logger.warning(msg)
87
88def debug_logger(msg):
89 """Log debug message if log level allows"""
90 if _should_log('DEBUG'):
91 return logger.debug(msg)
92
93def critical_logger(msg):
94 """Log critical message if log level allows"""

Callers 2

_run_loopMethod · 0.90
shutdownMethod · 0.90

Calls 1

_should_logFunction · 0.85

Tested by

no test coverage detected