code: def parse_line(self, line):
          
          # The parser may only need to run until it has seen a specific line.
          # Once that's occurred, it can mark itself as complete, to save
          # being run against later log lines.
          if self.parser.complete:
              return
  
          # Perf data is stored in a json structure contained in a single line,
          # if the MAX_LINE_LENGTH is applied the data structure could be
          # truncated, preventing it from being ingested.
          if 'PERFHERDER_DATA' not in line:
              line = line[:self.MAX_LINE_LENGTH]
  
          self.parser.parse_line(line, self.lineno)
          self.lineno += 1
docs: Parse a single line of the log.