view Chronosv2/source/NLog.config @ 12:6a0449185449

SCC changed from TFS to HG
author stevenh7776 stevenhollidge@hotmail.com
date Tue, 21 Feb 2012 17:47:35 +0700
parents 443821e55f06
children 741981715d94
line wrap: on
line source

<?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>