Serializes an event object into a string representation.
The event object to serialize.
A string representation of the serialized event.
Serializes an event object into a string representation.