MCPcopy Create free account
hub / github.com/CL-lau/SQL-GPT / warning

Function warning

logger/selflogger.py:28–34  ·  view source on GitHub ↗

Log a message with severity 'WARNING' on the root logger. If the logger has no handlers, call basicConfig() to add a console handler with a pre-defined format.

(msg, *args, **kwargs)

Source from the content-addressed store, hash-verified

26
27
28def warning(msg, *args, **kwargs):
29 """
30 Log a message with severity 'WARNING' on the root logger. If the logger has
31 no handlers, call basicConfig() to add a console handler with a pre-defined
32 format.
33 """
34 logging.warning(msg, *args, **kwargs)
35
36
37def warn(msg, *args, **kwargs):

Callers 1

warnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected