<?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog"/> </configSections> <nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <targets> <target name="logconsole" xsi:type="Console" /> <target name="logfile" xsi:type="File" fileName="logfile.log" /> </targets> <rules> <logger name="*" minlevel="Info" writeTo="logconsole" /> <logger name="*" minlevel="Debug" writeTo="logfile" /> </rules> </nlog> </configuration>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 26772 | Robert Cowham |
Added logging with NLog. Refactored to have seperate class for P4 interactions. |