#NEWLINE# def setLogRecordFactory( factory ) : #NEWLINE# #INDENT# '\n    Set the factory to be used when instantiating a log record.\n\n    :param factory: A callable which will be called to instantiate\n    a log record.\n    ' #NEWLINE# global _LOG_RECORD_FACTORY #NEWLINE# _LOG_RECORD_FACTORY = factory