def setLogRecordFactory(factory):
"""
- Set the class to be used when instantiating a log record.
+ Set the factory to be used when instantiating a log record.
:param factory: A callable which will be called to instantiate
a log record.
def getLogRecordFactory():
"""
- Return the class to be used when instantiating a log record.
+ Return the factory to be used when instantiating a log record.
"""
return _logRecordFactory
def setLogRecordFactory(self, factory):
"""
- Set the class to be used when instantiating a log record with this
+ Set the factory to be used when instantiating a log record with this
Manager.
"""
self.logRecordFactory = factory