class LogfileThread(InformerThread): def __init__(self, name, logfile): InformerThread.__init__(self, name) LOG.debug("----> LOGFILE: %s" % logfile) self.logger = DiscreetLogSubject(logfile) def threadProcess(self): self.logger.operate() def registerObserver(self, *args, **kwargs): self.logger.registerObserver(*args, **kwargs)
def __init__(self, name, logfile): InformerThread.__init__(self, name) LOG.debug("----> LOGFILE: %s" % logfile) self.logger = DiscreetLogSubject(logfile)