mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 03:32:20 +08:00
17 lines
763 B
XML
17 lines
763 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:\temp\nlog-internal.log">
|
|
<targets>
|
|
<target name="WPFLogger" xsi:type="MethodCall" className="BililiveRecorder.WPF.MainWindow, BililiveRecorder.WPF" methodName="AddLog">
|
|
<parameter layout="[${date:format=HH\:mm\:ss}] ${uppercase:${level}} ${message} ${exception:format=ToString,StackTrace}" />
|
|
</target>
|
|
</targets>
|
|
<rules>
|
|
<logger name="*" minlevel="Info" writeTo="WPFLogger"/>
|
|
</rules>
|
|
</nlog>
|