log4net appender to send errors to Sentry.
Configure in app.config:
<log4net>
<root>
<level value="DEBUG" />
<appender-ref ref="SentryAppender" />
</root>
<appender name="SentryAppender" type="SharpRaven.Log4Net.SentryAppender, SharpRaven.Log4Net">
<DSN value="DSN_FROM_SENTRY_UI" />
<Logger value="LOGGER_NAME" />
<threshold value="ERROR" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%5level - %message%newline" />
</layout>
</appender>
</log4net>
To debug issues with events not reaching sentry, turn on log4net logging: http://haacked.com/archive/2006/09/27/Log4Net_Troubleshooting.aspx/