MCPcopy Index your code
hub / github.com/python/cpython / info

Function info

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

Log a message with severity 'INFO' 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 warning(msg, *args, **kwargs)
2209
2210def info(msg, *args, **kwargs):
2211 """
2212 Log a message with severity 'INFO' 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.info(msg, *args, **kwargs)
2219
2220def debug(msg, *args, **kwargs):
2221 """

Callers 1

call_fxnFunction · 0.50

Calls 2

basicConfigFunction · 0.85
infoMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…