view Stocks/Stocks.Service.Tests.Unit/NLog.config @ 11:db71b2e0a216

Extension added (fails on Windows XP)
author stevenh7776 stevenhollidge@hotmail.com
date Tue, 21 Feb 2012 17:30:16 +0700
parents e5d46bb6cdb0
children
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">

  <!-- 
  See http://nlog-project.org/wiki/Configuration_file 
  for information on customizing logging rules and outputs.
   -->
  <targets>
    <target xsi:type="File" name="textFile" fileName="${basedir}/logs/${shortdate}.log"
            layout="${longdate} ${uppercase:${level}} ${message}" />
  </targets>

  <rules>
    <logger name="*" minlevel="Trace" writeTo="textFile" />
  </rules>
</nlog>