def startGUILog(self) : self.fname_log = fnm.log_file() self.fname_log_total = fnm.log_file_total() self.setStatus(0, 'Log-file: ' + os.path.basename(self.fname_log)) logger.setLevel(cp.log_level.value()) self.box_txt.setText( logger.getLogContent() ) logger.setGUILogger(self) logger.debug('GUILogger is open', __name__)
def startGUILog(self) : self.fname_log = cp.log_file.value() #self.fname_log_total = cp.log_file_total.value() self.setStatus(0, 'Log-file: ' + os.path.basename(self.fname_log)) logger.setLevel(cp.log_level.value()) self.box_txt.setText(logger.getLogContent()) logger.setGUILogger(self) logger.debug('GUILogger is open', self.name) self.box_txt.moveCursor(QtGui.QTextCursor.End)
def startGUILog(self): self.fname_log = cp.log_file.value() #self.fname_log_total = cp.log_file_total.value() self.setStatus(0, 'Log-file: ' + os.path.basename(self.fname_log)) logger.setLevel(cp.log_level.value()) self.box_txt.setText(logger.getLogContent()) logger.setGUILogger(self) logger.debug('GUILogger is open', self.name) self.box_txt.moveCursor(QtGui.QTextCursor.End)