code: def ParseRecord(self, parser_mediator, key, structure):
      
      if key not in self._SUPPORTED_KEYS:
        raise errors.ParseError(
            'Unable to parse record, unknown structure: {0:s}'.format(key))
  
      self._ParseLogLine(parser_mediator, key, structure)
docs: Parses a log record structure and produces events.
  
      Args:
        parser_mediator (ParserMediator): mediates interactions between parsers
            and other components, such as storage and dfvfs.
        key (str): name of the parsed structure.
        structure (pyparsing.ParseResults): structure of tokens derived from
            a line of a text file.
  
      Raises:
        ParseError: when the structure type is unknown.