Lines Matching defs:warning
40 'warn', 'warning', 'getLogRecordFactory', 'setLogRecordFactory',
309 # is done. For example, logger.warning('Value is %d', 0) would log
1491 def warning(self, msg, *args, **kwargs):
1498 logger.warning("Houston, we have a %s", "bit of a problem", exc_info=1)
1505 "use 'warning' instead", DeprecationWarning, 2)
1506 self.warning(msg, *args, **kwargs)
1851 def warning(self, msg, *args, **kwargs):
1853 Delegate a warning call to the underlying logger.
1859 "use 'warning' instead", DeprecationWarning, 2)
1860 self.warning(msg, *args, **kwargs)
2125 def warning(msg, *args, **kwargs):
2133 root.warning(msg, *args, **kwargs)
2137 "use 'warning' instead", DeprecationWarning, 2)
2138 warning(msg, *args, **kwargs)
2216 "No handlers could be found for logger XXX" one-off warning. This is
2218 of the library does not configure logging, the one-off warning might be
2255 # bpo-46557: Log str(s) as msg instead of logger.warning("%s", s)
2257 logger.warning(str(s))