MCPcopy Index your code
hub / github.com/dataease/SQLBot / warning

Method warning

backend/common/utils/utils.py:195–198  ·  view source on GitHub ↗
(msg: str, *args, **kwargs)

Source from the content-addressed store, hash-verified

193
194 @staticmethod
195 def warning(msg: str, *args, **kwargs):
196 logger = SQLBotLogUtil._get_logger()
197 if logger.isEnabledFor(logging.WARNING):
198 logger._log(logging.WARNING, msg, args, **kwargs)
199
200 @staticmethod
201 def error(msg: str, *args, exc_info: Optional[bool] = None, **kwargs):

Callers 1

init_sqlbot_cacheFunction · 0.80

Calls 2

_get_loggerMethod · 0.80
_logMethod · 0.80

Tested by

no test coverage detected