Files
ETS/ETS_Data/NLog.config
T
Samuele Locatelli b90483cc56 compila logger
2013-05-23 13:53:11 +02:00

29 lines
1.0 KiB
XML

<?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>
<!-- file target -->
<target xsi:type="File" name="f" fileName="${basedir}/logs/${shortdate}.log"
layout="${longdate} [${uppercase:${level}}] ${message}" archiveEvery="Day" />
<!--viewer interattivo sentinel... http://sentinel.codeplex.com/-->
<target xsi:type="NLogViewer" name="sentinel" address="udp://127.0.0.1:9999"/>
<!--
<target xsi:type="File" name="f" fileName="${basedir}/logs/${shortdate}.log"
layout="${longdate} ${uppercase:${level}} ${message}" />
-->
</targets>
<rules>
<!-- add your logging rules here -->
<!--
<logger name="*" minlevel="Trace" writeTo="f" />
-->
</rules>
</nlog>