MCPcopy Index your code
hub / github.com/CodeGraphContext/CodeGraphContext / error_logger

Function error_logger

src/codegraphcontext/utils/debug_log.py:77–80  ·  view source on GitHub ↗

Log error message if log level allows

(msg)

Source from the content-addressed store, hash-verified

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

Callers 15

runMethod · 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
parseMethod · 0.90

Calls 2

_should_logFunction · 0.85
errorMethod · 0.80

Tested by

no test coverage detected