Adding overload to EventWriter which accepts a Severity enum

The marks indicate code that was reformatted by VS, no change.