code: def GetMessages(self, 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()
  
      event = event_values.get('event', None)
      if event:
        event_values['event_map'] = self.EVENT_NAMES.get(event, 'Unknown')
  
      category = event_values.get('cat', None)
      if category:
        event_values['category_map'] = self.CATEGORY_NAMES.get(
            category, 'Unknown')
  
      action = event_values.get('action0', None)
      if action:
        event_values['action0_map'] = self.ACTION_0_NAMES.get(action, 'Unknown')
  
      action = event_values.get('action1', None)
      if action:
        event_values['action1_map'] = self.ACTION_1_2_NAMES.get(
            action, 'Unknown')
  
      action = event_values.get('action2', None)
      if action:
        event_values['action2_map'] = self.ACTION_1_2_NAMES.get(
            action, 'Unknown')
  
      return self._ConditionalFormatMessages(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.
  
      Raises:
        WrongFormatter: if the event object cannot be formatted by the formatter.