Raygun4Net automatic Breadcrumb logging with log4net
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<configuration> | |
<configSections> | |
<section name="RaygunSettings" type="Mindscape.Raygun4Net.RaygunSettings, Mindscape.Raygun4Net" /> | |
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" /> | |
</configSections> | |
<RaygunSettings apikey="[YOUR-API-KEY-HERE]" breadcrumbsLevel="Debug" /> | |
<log4net> | |
<appender name="breadcrumbAppender" type="Raygun.Examples.RaygunBreadcrumbAppender"> | |
<layout type="log4net.Layout.PatternLayout"> | |
<conversionPattern value="%message" /> | |
</layout> | |
</appender> | |
<root name="RaygunApp"> | |
<level value="DEBUG" /> | |
<appender-ref ref="breadcrumbAppender" /> | |
</root> | |
</log4net> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment