See http://nlog-project.org/wiki/Configuration_file
for information on customizing logging rules and outputs.
-->
- <targets>
- <!-- add your targets here -->
+ <targets async="true">
+ <!-- add your targets here
<target name="asyncFile" xsi:type="AsyncWrapper">
<target xsi:type="File" name="logfile" fileName="${shortdate}.log"
layout="${longdate} ${uppercase:${level}} ${callsite} ${message} ${newline}" />
</target>
+ -->
+ <target xsi:type="LogReceiverService"
+ name="remoteLog"
+ endpointAddress="http://gumartinm.name/Design_Time_Addresses/MyLogReceiverApp/LogReceiverServer/"
+ useBinaryEncoding="false"
+ clientId="remoteagents_wp8"
+ includeEventProperties="true">
+ <parameter layout="${longdate} ${uppercase:${level}} ${callsite} ${message} ${newline}" />
+ </target>
</targets>
<rules>
<!-- add your logging rules here -->
-
+ <!--
<logger name="*" minlevel="Info" writeTo="asyncFile" />
+ -->
+ <logger name="*" minlevel="Info" writeTo="remoteLog" />
+
</rules>
</nlog>
\ No newline at end of file