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

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
set logging class .