code: def _newLogEntry(self, entry):
          
          # add entry to purrer
          self.purrer.addLogEntry(entry)
          # add entry to listview if it is not an ignored entry
          # (ignored entries only carry information about DPs to be ignored)
          if not entry.ignore:
              if self.etw.topLevelItemCount():
                  lastitem = self.etw.topLevelItem(self.etw.topLevelItemCount() - 1)
              else:
                  lastitem = None
              self._addEntryItem(entry, len(self.purrer.entries) - 1, lastitem)
              self._index_paths[os.path.abspath(entry.index_file)] = len(self.purrer.entries) - 1
          # log will have changed, so update the viewer
          if not entry.ignore:
              self._updateViewer()
              self.show()
docs: This is called when a new log entry is created