code: def WriteEventBody(self, event):
      
      output_values = []
      for field_name in self._fields:
        output_value = self._dynamic_fields_helper.GetFormattedField(
            event, field_name)
  
        output_value = self._SanitizeField(output_value)
        output_values.append(output_value)
  
      output_line = '{0:s}\n'.format(self._field_delimiter.join(output_values))
      self._output_writer.Write(output_line)
docs: Writes the body of an event to the output.
  
      Args:
        event (EventObject): event.