Skip to content

lukehutton/SentryAppender

 
 

Repository files navigation

SentryAppender

log4net appender to send errors to Sentry.

Configure in app.config:

<log4net>
	<root>
		<level value="DEBUG" />
		<appender-ref ref="RavenAppender" />
	</root>
	<appender name="RavenAppender" 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>

About

Uses log4net to send errors to Sentry (http://www.getsentry.com)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 93.3%
  • Classic ASP 6.7%