Home
last modified time | relevance | path

Searched refs:isEnabledFor (Results 1 – 10 of 10) sorted by relevance

/third_party/mindspore/tests/st/model_zoo_tests/yolov3_darknet53/src/
Dlogger.py54 if self.isEnabledFor(logging.INFO):
65 if self.isEnabledFor(logging.INFO) and self.rank == 0:
/third_party/python/Lib/logging/
D__init__.py1464 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/
Dtest_logging.py4885 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/
Drefactor.py591 if self.logger.isEnabledFor(logging.DEBUG):
/third_party/python/Doc/howto/
Dlogging.rst1055 :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
Dlogging-cookbook.rst1216 if self.isEnabledFor(level):
1522 if logger.isEnabledFor(record.levelno):
/third_party/python/Doc/library/
Dlogging.rst133 :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/
D3.9.0a3.rst550 If an exception were to be thrown in `Logger.isEnabledFor` (say, by asyncio
/third_party/python/Doc/whatsnew/
D2.7.rst536 :meth:`~logging.LoggerAdapter.isEnabledFor` method that takes a
/third_party/python/Misc/
DHISTORY12048 - logging: hasHandlers method was added to Logger, and isEnabledFor,