26 lines
920 B
XML
26 lines
920 B
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"
|
|
xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd"
|
|
autoReload="true"
|
|
throwExceptions="false"
|
|
internalLogLevel="Off" internalLogFile="c:\nlog\internal.log">
|
|
|
|
<targets>
|
|
|
|
<target name="console" xsi:type="Console" layout="${longdate}|${logger}|${uppercase:${level}}|${message};${exception:format=Message}" />
|
|
|
|
<target name="form" xsi:type="RichTextBox"
|
|
layout="${longdate} ${uppercase:${level}} ${logger} ${message};${exception:format=toString}"
|
|
autoScroll="false"
|
|
controlName="richTextBox1"
|
|
formName="FormSysLog"
|
|
useDefaultRowColoringRules="true">
|
|
</target>
|
|
|
|
</targets>
|
|
|
|
<rules>
|
|
<logger name="*" minlevel="Debug" writeTo="form" />
|
|
</rules>
|
|
</nlog> |