MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / info

Function info

tools/python-3.11.9-amd64/Lib/logging/__init__.py:2133–2141  ·  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

2131 warning(msg, *args, **kwargs)
2132
2133def info(msg, *args, **kwargs):
2134 """
2135 Log a message with severity 'INFO' on the root logger. If the logger has
2136 no handlers, call basicConfig() to add a console handler with a pre-defined
2137 format.
2138 """
2139 if len(root.handlers) == 0:
2140 basicConfig()
2141 root.info(msg, *args, **kwargs)
2142
2143def debug(msg, *args, **kwargs):
2144 """

Callers 1

call_fxnFunction · 0.50

Calls 2

basicConfigFunction · 0.85
infoMethod · 0.45

Tested by

no test coverage detected