Last active
June 7, 2017 07:38
-
-
Save j5alive/87ed7d0b88ce81d65475e512606aacb2 to your computer and use it in GitHub Desktop.
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