Mercurial > silverbladetech
diff Chronosv2/source/NLog.config @ 10:443821e55f06
Initial cleaned up add from Codeplex files
author | stevenh7776 stevenhollidge@hotmail.com |
---|---|
date | Tue, 21 Feb 2012 17:25:44 +0700 |
parents | |
children | 741981715d94 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Chronosv2/source/NLog.config Tue Feb 21 17:25:44 2012 +0700 @@ -0,0 +1,15 @@ +<?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"> + <targets> + <target name="async-file" type="AsyncWrapper"> + <target name="file" + xsi:type="File" + fileName="${basedir}/logs/Log ${shortdate}.txt" + layout="${longdate} ${callsite} ${level}: ${message} ${exception:format=tostring} ${stacktrace}" /> + </target> + </targets> + <rules> + <logger name="*" writeTo="async-file" /> + <!--<logger name="*" writeTo="mail" minlevel="Error"/>--> + </rules> +</nlog> \ No newline at end of file