MCPcopy Index your code
hub / github.com/RustPython/RustPython / debug

Function debug

Lib/logging/__init__.py:2210–2218  ·  view source on GitHub ↗

Log a message with severity 'DEBUG' 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

2208 root.info(msg, *args, **kwargs)
2209
2210def debug(msg, *args, **kwargs):
2211 """
2212 Log a message with severity 'DEBUG' on the root logger. If the logger has
2213 no handlers, call basicConfig() to add a console handler with a pre-defined
2214 format.
2215 """
2216 if len(root.handlers) == 0:
2217 basicConfig()
2218 root.debug(msg, *args, **kwargs)
2219
2220def log(level, msg, *args, **kwargs):
2221 """

Callers

nothing calls this directly

Calls 3

lenFunction · 0.85
basicConfigFunction · 0.85
debugMethod · 0.45

Tested by

no test coverage detected