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

Method info

Lib/logging/__init__.py:1513–1523  ·  view source on GitHub ↗

Log 'msg % args' with severity 'INFO'. To pass exception information, use the keyword argument exc_info with a true value, e.g. logger.info("Houston, we have a %s", "notable problem", exc_info=True)

(self, msg, *args, **kwargs)

Source from the content-addressed store, hash-verified

1511 self._log(DEBUG, msg, args, **kwargs)
1512
1513 def info(self, msg, *args, **kwargs):
1514 """
1515 Log 'msg % args' with severity 'INFO'.
1516
1517 To pass exception information, use the keyword argument exc_info with
1518 a true value, e.g.
1519
1520 logger.info("Houston, we have a %s", "notable problem", exc_info=True)
1521 """
1522 if self.isEnabledFor(INFO):
1523 self._log(INFO, msg, args, **kwargs)
1524
1525 def warning(self, msg, *args, **kwargs):
1526 """

Callers 1

infoFunction · 0.45

Calls 2

isEnabledForMethod · 0.95
_logMethod · 0.95

Tested by

no test coverage detected