code: def GetMessages(self, formatter_mediator, event):
      
      event_values = event.CopyToDict()
  
      # TODO: clean up the default formatter and add a test to make sure
      # it is clear how it is intended to work.
      text_pieces = []
      for key, value in event_values.items():
        if key in definitions.RESERVED_VARIABLE_NAMES:
          continue
        text_pieces.append('{0:s}: {1!s}'.format(key, value))
  
      event_values['attribute_driven'] = ' '.join(text_pieces)
      event_values['data_type'] = self.DATA_TYPE
  
      return self._FormatMessages(
          self.FORMAT_STRING, self.FORMAT_STRING_SHORT, event_values)
docs: Determines the formatted message strings for an event object.
  
      Args:
        formatter_mediator (FormatterMediator): mediates the interactions
            between formatters and other components, such as storage and Windows
            EventLog resources.
        event (EventObject): event.
  
      Returns:
        tuple(str, str): formatted message string and short message string.