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

Function warning_logger

src/codegraphcontext/utils/debug_log.py:82–85  ·  view source on GitHub ↗

Log warning message if log level allows

(msg)

Source from the content-addressed store, hash-verified

80 return logger.error(msg)
81
82def warning_logger(msg):
83 """Log warning message if log level allows"""
84 if _should_log('WARNING'):
85 return logger.warning(msg)
86
87def debug_logger(msg):
88 """Log debug message if log level allows"""

Callers 15

_load_disabled_toolsMethod · 0.90
get_parserMethod · 0.90
add_file_to_graphMethod · 0.90
parse_fileMethod · 0.90
parseMethod · 0.90
pre_scan_dartFunction · 0.90
parseMethod · 0.90
pre_scan_typescriptFunction · 0.90
pre_scan_luaFunction · 0.90
pre_scan_cFunction · 0.90
pre_scan_rubyFunction · 0.90

Calls 1

_should_logFunction · 0.85

Tested by

no test coverage detected