Searched refs:setLoggerClass (Results 1 – 8 of 8) sorted by relevance
197 logging.setLoggerClass(LastResortLogger)202 logging.setLoggerClass(current)
997 def setLoggerClass(klass): function1068 def setLoggerClass(self, klass): member in Manager
1932 self.assertRaises(TypeError, man.setLoggerClass, int)1933 man.setLoggerClass(MyLogger)
1186 def setLoggerClass(klass): function1255 def setLoggerClass(self, klass): member in Manager
3203 self.assertRaises(TypeError, man.setLoggerClass, int)3204 man.setLoggerClass(MyLogger)3814 self.assertRaises(TypeError, logging.setLoggerClass, object)3819 logging.setLoggerClass(MyLogger)3822 logging.setLoggerClass(logging.Logger)
768 :func:`setLoggerClass`. This function may be called from within a new class982 .. function:: setLoggerClass(klass)
904 :func:`setLoggerClass`. This function may be called from within a new class1188 .. function:: setLoggerClass(klass)
1204 :meth:`Logger.makeRecord`, and set it using :func:`~logging.setLoggerClass`