Quantcast
Channel: NLog
Viewing all articles
Browse latest Browse all 71

NLog for Windows Phone 7

$
0
0

This week I have checked in a port of NLog 2.0 for Windows Phone 7. It’s still very experimental and the intention of this release is to get feedback from people. Please use at your own risk.

Current build supports 8 targets:

  • Console– can be used to write logs to the console (only works in Emulator – see this post for instruction on how to enable console output)
  • Memory– stores traces in memory
  • MethodCall– runs user-provided method for each log message
  • Network, NLogViewer and Chainsaw– write XML-formatted log event over the network. Only HTTP:// and HTTPS:// protocols are supported.
  • WebService– sends log events to a web service using SOAP or POST
  • LogReceiverService– sends log events to LogReceiver web service using WCF

Note that File target and several others are not included because of current constraints of the platform APIs.

Here is a simple step-by-step tutorial for adding NLog to your WP7 app:

  1. Download


Viewing all articles
Browse latest Browse all 71

Trending Articles