code: def GetFormattedMessages(self, event):
      
      event_formatter = self.GetEventFormatter(event)
      if not event_formatter:
        return None, None
  
      return event_formatter.GetMessages(self._formatter_mediator, event)
docs: Retrieves the formatted messages related to the event.
  
      Args:
        event (EventObject): event.
  
      Returns:
        tuple: containing:
  
          str: full message string or None if no event formatter was found.
          str: short message string or None if no event formatter was found.