code: def GetMessages(self, unused_formatter_mediator, event):
      
      if self.DATA_TYPE != event.data_type:
        raise errors.WrongFormatter(
            'Unsupported data type: {0:s}.'.format(event.data_type))
  
      event_values = event.CopyToDict()
      for formattable_value_name, formatter in self.VALUE_FORMATTERS.items():
        if formattable_value_name in event_values:
          value = event_values[formattable_value_name]
          event_values[formattable_value_name] = formatter(value)
  
      return self._ConditionalFormatMessages(event_values)
docs: Determines the formatted message strings for an event object.
  
      If any event values have a matching formatting function in VALUE_FORMATTERS,
      they are run through that function; then the dictionary is passed to the
      superclass's formatting method.
  
      Args:
        unused_formatter_mediator (FormatterMediator): not used.
        event (EventObject): event.
  
      Returns:
        tuple(str, str): formatted message string and short message string.
  
      Raises:
        WrongFormatter: if the event object cannot be formatted by the formatter.