Searched refs:isEnabledFor (Results 1 – 10 of 10) sorted by relevance
/third_party/mindspore/tests/st/model_zoo_tests/yolov3_darknet53/src/ |
D | logger.py | 54 if self.isEnabledFor(logging.INFO): 65 if self.isEnabledFor(logging.INFO) and self.rank == 0:
|
/third_party/python/Lib/logging/ |
D | __init__.py | 1464 if self.isEnabledFor(DEBUG): 1476 if self.isEnabledFor(INFO): 1488 if self.isEnabledFor(WARNING): 1505 if self.isEnabledFor(ERROR): 1523 if self.isEnabledFor(CRITICAL): 1546 if self.isEnabledFor(level): 1724 def isEnabledFor(self, level): member in Logger 1877 if self.isEnabledFor(level): 1881 def isEnabledFor(self, level): member in LoggerAdapter 1885 return self.logger.isEnabledFor(level)
|
/third_party/python/Lib/test/ |
D | test_logging.py | 4885 self.assertFalse(self.adapter.isEnabledFor(32)) 5053 self.assertFalse(self.logger.isEnabledFor(22)) 5065 self.assertFalse(self.logger.isEnabledFor(22)) 5103 self.assertTrue(logger2.isEnabledFor(logging.ERROR)) 5104 self.assertFalse(logger2.isEnabledFor(logging.DEBUG)) 5107 self.assertTrue(logger2.isEnabledFor(logging.ERROR)) 5111 self.assertTrue(root.isEnabledFor(logging.ERROR)) 5120 self.assertFalse(logger2.isEnabledFor(logging.ERROR)) 5130 self.assertFalse(logger2.isEnabledFor(logging.ERROR)) 5131 self.assertTrue(logger2.isEnabledFor(logging.CRITICAL)) [all …]
|
/third_party/python/Lib/lib2to3/ |
D | refactor.py | 591 if self.logger.isEnabledFor(logging.DEBUG):
|
/third_party/python/Doc/howto/ |
D | logging.rst | 1055 :meth:`~Logger.isEnabledFor` method which takes a level argument and returns 1059 if logger.isEnabledFor(logging.DEBUG): 1066 .. note:: In some cases, :meth:`~Logger.isEnabledFor` can itself be more 1070 call to :meth:`~Logger.isEnabledFor` in a local or instance variable, and use
|
D | logging-cookbook.rst | 1216 if self.isEnabledFor(level): 1522 if logger.isEnabledFor(record.levelno):
|
/third_party/python/Doc/library/ |
D | logging.rst | 133 :meth:`isEnabledFor` will return/expect to be passed integers. 136 .. method:: Logger.isEnabledFor(level) 901 :meth:`~Logger.critical`, :meth:`~Logger.log`, :meth:`~Logger.isEnabledFor`, 908 The :meth:`~Logger.isEnabledFor`, :meth:`~Logger.getEffectiveLevel`,
|
/third_party/python/Misc/NEWS.d/ |
D | 3.9.0a3.rst | 550 If an exception were to be thrown in `Logger.isEnabledFor` (say, by asyncio
|
/third_party/python/Doc/whatsnew/ |
D | 2.7.rst | 536 :meth:`~logging.LoggerAdapter.isEnabledFor` method that takes a
|
/third_party/python/Misc/ |
D | HISTORY | 12048 - logging: hasHandlers method was added to Logger, and isEnabledFor,
|