code: def _get_log_entries(self) -> List[Tuple[int, bytes, List[int], bytes]]:
          
          if self.is_error:
              return []
          else:
              return sorted(itertools.chain(
                  self._log_entries,
                  *(child._get_log_entries() for child in self.children)
              ))
docs: Return the log entries for this computation and its children.
  
          They are sorted in the same order they were emitted during the transaction processing, and
          include the sequential counter as the first element of the tuple representing every entry.