1
Vote

Logger should be able to send Exception objects to listener

description

Currently, if you send an Exception object thrown from the application code to LogWriter.Write(Object), a LogEntry is created and sent to the configured listener. But what if the listener has special treatment for exceptions? For example, I created a listener that sends the entries to Application Insights on Azure, but I can't get the exception thrown in order to send it with their TrackException(Exception) API.

comments