Home
last modified time | relevance | path

Searched refs:hasHandlers (Results 1 – 4 of 4) sorted by relevance

/third_party/python/Lib/test/
Dtest_logging.py118 if self.logger1.hasHandlers():
121 if self.logger2.hasHandlers():
125 self.assertTrue(self.logger1.hasHandlers())
126 self.assertTrue(self.logger2.hasHandlers())
4888 self.assertTrue(self.adapter.hasHandlers())
4893 self.assertFalse(self.logger.hasHandlers())
4894 self.assertFalse(self.adapter.hasHandlers())
5038 self.assertTrue(self.logger.hasHandlers())
5042 self.assertFalse(self.logger.hasHandlers())
5047 self.assertFalse(child_logger.hasHandlers())
/third_party/python/Lib/logging/
D__init__.py1658 def hasHandlers(self): member in Logger
1899 def hasHandlers(self): member in LoggerAdapter
1903 return self.logger.hasHandlers()
/third_party/python/Doc/library/
Dlogging.rst351 .. method:: Logger.hasHandlers()
903 :meth:`~Logger.hasHandlers`. These methods have the same signatures as their
909 :meth:`~Logger.setLevel` and :meth:`~Logger.hasHandlers` methods were added
/third_party/python/Misc/
DHISTORY12038 - logging: Added hasHandlers() method to Logger and LoggerAdapter.
12048 - logging: hasHandlers method was added to Logger, and isEnabledFor,
12049 getEffectiveLevel, hasHandlers and setLevel were added to LoggerAdapter.