Sets this's severity (from a simple notice to a fatal event) This function should not be called directly.
a ConnectionEvent object
the severity of the event