code: def WriteEventBody(self, event):
      
      output_string = NativePythonFormatterHelper.GetFormattedEventObject(event)
      self._output_writer.Write(output_string)
docs: Writes the body of an event to the output.
  
      Args:
        event (EventObject): event.