Set the class to be used when instantiating a logger with this Manager.
(self, klass)
| 1394 | return rv |
| 1395 | |
| 1396 | def setLoggerClass(self, klass): |
| 1397 | """ |
| 1398 | Set the class to be used when instantiating a logger with this Manager. |
| 1399 | """ |
| 1400 | if klass != Logger: |
| 1401 | if not issubclass(klass, Logger): |
| 1402 | raise TypeError("logger not derived from logging.Logger: " |
| 1403 | + klass.__name__) |
| 1404 | self.loggerClass = klass |
| 1405 | |
| 1406 | def setLogRecordFactory(self, factory): |
| 1407 | """ |
no outgoing calls