|
<?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">
<variable name="logDirectory" value="${environment:PracticeSharpLogFolder}"/>
<targets>
<target name="logfileReg" xsi:type="File" fileName="${logDirectory}/Practice#.log" deleteOldFileOnStartup="true" layout="${date} ${level} ${threadname} ${message}"/>
<target name="logfileError" xsi:type="File" fileName="${logDirectory}/Practice#.log" layout="${date} ${level} ${threadname} Exception Details:${exception:Format=ToString}${newline}"/>
</targets>
<rules>
<logger name="*" minLevel="Debug" writeTo="logfileReg" />
<logger name="*" minLevel="Error" writeTo="logfileError" />
</rules>
</nlog>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I've been punching code since the age of 9 when I got my first computer - A Sinclair Spectrum with 48Kb of RAM!
That was a great time, when peek and pokes were the way to do stuff.
I wrote in X86 Assembly, Logo
, Basic, C, C++, Pascal, Delphi, Java and in the last 16 years C#, but NodeJS and Python too.