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

Function warning_logger

src/codegraphcontext/utils/debug_log.py:83–86  ·  view source on GitHub ↗

Log warning message if log level allows

(msg)

Source from the content-addressed store, hash-verified

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

Callers 15

_load_disabled_toolsMethod · 0.90
_stop_current_watcherMethod · 0.90
_start_watcher_ifMethod · 0.90
switch_context_toolMethod · 0.90
runMethod · 0.90
get_parserMethod · 0.90
add_file_to_graphMethod · 0.90
parse_fileMethod · 0.90
parseMethod · 0.90
_calculate_complexityMethod · 0.90
pre_scan_dartFunction · 0.90

Calls 1

_should_logFunction · 0.85

Tested by 1