code: def addRecord(self, record):
          
          if self._destroyed:
              return
          
          if not self.uiRecordBTN.isChecked():
              return
          
          self._queue.append(record)
docs: Adds the inputed record to this logger tree widget.
          
          :param      record | <logging.LogRecord>