Implemented VirtualPrinterDriver project
This commit is contained in:
parent
f29c84821b
commit
5c87967c3f
125 changed files with 8191 additions and 0 deletions
25
Common/VirtualPrinter.Logging/NLog.config
Normal file
25
Common/VirtualPrinter.Logging/NLog.config
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?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">
|
||||
|
||||
<variable name="log_title" value="${processname}"/>
|
||||
|
||||
<targets>
|
||||
<target name="console" xsi:type="ColoredConsole" layout="${longdate} ${level} ${message} ${exception:format=ToString}"/>
|
||||
<target xsi:type="EventLog"
|
||||
name="eventlog"
|
||||
log ="Application"
|
||||
source="${var:log_title}"
|
||||
layout="${message}${newline}${exception:format=ToString}">
|
||||
</target>
|
||||
</targets>
|
||||
|
||||
<rules>
|
||||
<logger name="*" minlevel="Debug" writeTo="console" />
|
||||
<logger name="*" minlevel="Info" writeTo="eventlog" />
|
||||
</rules>
|
||||
</nlog>
|
||||
Loading…
Add table
Add a link
Reference in a new issue