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

Function error_logger

src/codegraphcontext/utils/debug_log.py:78–81  ·  view source on GitHub ↗

Log error message if log level allows

(msg)

Source from the content-addressed store, hash-verified

76 return logger.info(msg)
77
78def error_logger(msg):
79 """Log error message if log level allows"""
80 if _should_log('ERROR'):
81 return logger.error(msg)
82
83def warning_logger(msg):
84 """Log warning message if log level allows"""

Callers 15

_run_loopMethod · 0.90
link_function_callsMethod · 0.90
update_file_in_graphMethod · 0.90
parse_fileMethod · 0.90
parseMethod · 0.90
_parse_functionsMethod · 0.90
_parse_classesMethod · 0.90
_parse_importsMethod · 0.90
_parse_callsMethod · 0.90
pre_scan_javaFunction · 0.90

Calls 2

_should_logFunction · 0.85
errorMethod · 0.80

Tested by 1