(klass)
Set the class to be used when instantiating a logger. The class should
    define __init__() such that only a name argument is required, and the
    __init__() should call Logger.__init__()
Set the class to be used when instantiating a logger. The class should
    define __init__() such that only a name argument is required, and the
    __init__() should call Logger.__init__()
Set the class to be used when instantiating a logger . The class should define __init__ () such that only a name argument is required and the __init__ () should call Logger . __init__ ()
def setLoggerClass(klass):
    """
    Set the class to be used when instantiating a logger. The class should
    define __init__() such that only a name argument is required, and the
    __init__() should call Logger.__init__()
    """
    if klass != Logger:
        if not issubclass(klass, Logger):
            raise TypeError("logger not derived from logging.Logger: "
                            + klass.__name__)
    global _loggerClass
    _loggerClass = klass
def setLoggerClass ( klass ) : if klass != Logger : if not issubclass ( klass , Logger ) : raise TypeError ( "logger not derived from logging.Logger: " + klass . __name__ ) global _loggerClass _loggerClass = klass