Files
SteamTools/System.Application.SteamTools.Client.Desktop/nlog.config
T
2021-02-24 04:03:38 +08:00

22 lines
955 B
XML

<?xml version="1.0" encoding="utf-8" ?>
<!-- XSD manual extracted from package NLog.Schema: https://www.nuget.org/packages/NLog.Schema-->
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
autoReload="true"
internalLogFile="logs\internal-nlog.txt"
internalLogLevel="Off">
<!-- the targets to write to -->
<targets>
<!-- write logs to file -->
<target xsi:type="File" name="logfile" fileName="logs\nlog-all-${shortdate}.log"
layout="${longdate}|${level}|${message} |${all-event-properties} ${exception:format=tostring}"/>
<target xsi:type="Console" name="logconsole"
layout="${longdate}|${level}|${message} |${all-event-properties} ${exception:format=tostring}"/>
</targets>
<!-- rules to map from logger name to target -->
<rules>
<logger name="*" minlevel="Trace" writeTo="logfile,logconsole"/>
</rules>
</nlog>