Searched refs:hasHandlers (Results 1 – 4 of 4) sorted by relevance
118 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())
1658 def hasHandlers(self): member in Logger1899 def hasHandlers(self): member in LoggerAdapter1903 return self.logger.hasHandlers()
351 .. method:: Logger.hasHandlers()903 :meth:`~Logger.hasHandlers`. These methods have the same signatures as their909 :meth:`~Logger.setLevel` and :meth:`~Logger.hasHandlers` methods were added
12038 - 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.