Skip to content

Instantly share code, notes, and snippets.

@ThomasArdal
Created March 30, 2017 12:32
Show Gist options
  • Save ThomasArdal/0de0d01a487eaee9908825f5fa414f61 to your computer and use it in GitHub Desktop.
Save ThomasArdal/0de0d01a487eaee9908825f5fa414f61 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:elmahio="http://www.nlog-project.org/schemas/NLog.Targets.Elmah.Io.xsd"
autoReload="true"
internalLogLevel="Warn"
internalLogFile="C:\temp\internal-nlog.txt">
<extensions>
<add assembly="Elmah.Io.NLog" />
</extensions>
<targets>
<target name="elmahio" xsi:type="elmahio:elmah.io" apiKey="API_KEY" logId="LOG_ID" />
</targets>
<rules>
<logger name="*" minlevel="Trace" writeTo="elmahio" />
</rules>
</nlog>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment