- def emit(self, record) :
- if record.name == 'minwii.env' :
- if record.getMessage()=='NEW_LOG_FILE' :
- self.setNewStream()
- for rec in self.env :
- logging.StreamHandler.emit(self, rec)
- return
- else :
- self.env.append(record)
- logging.StreamHandler.emit(self, record)
+ def emit(self, record) :
+ if record.name == 'minwii.env' :
+ if record.getMessage()=='NEW_LOG_FILE' :
+ self.setNewStream()
+ for rec in self.env :
+ logging.StreamHandler.emit(self, rec)
+ return
+ else :
+ self.env.append(record)
+ logging.StreamHandler.emit(self, record)