code: def parse_flash_log(self, logf):
          
          data = OrderedDict()
          samplelogs = self.split_log(logf['f'])
          for slog in samplelogs:
              try:
                  sample = dict()
                  ## Sample name ##
                  s_name = self.clean_pe_name(slog, logf['root'])
                  if s_name is None:
                      continue
                  sample['s_name'] = s_name
  
                  ## Log attributes ##
                  sample['totalpairs'] = self.get_field('Total pairs', slog)
                  sample['discardpairs'] = self.get_field('Discarded pairs', slog)
                  sample['percdiscard'] = self.get_field('Percent Discarded', slog, fl=True)
                  sample['combopairs'] = self.get_field('Combined pairs', slog)
                  sample['inniepairs'] = self.get_field('Innie pairs', slog)
                  sample['outiepairs'] = self.get_field('Outie pairs', slog)
                  sample['uncombopairs'] = self.get_field('Uncombined pairs', slog)
                  sample['perccombo'] = self.get_field('Percent combined', slog, fl=True)
  
                  data[s_name] = sample
              except Exception as err:
                  log.warning("Error parsing record in {}. {}".format(logf['fn'], err))
                  log.debug(traceback.format_exc())
                  continue
          return data
docs: parse flash logs