NET Logging Library
Logging to NLog Viewer
Basic Tasks > Logging to NLog Viewer

Log to a remote instance of the NLog Viewer

It has these properties that can be configured:

 

//Example runtime configuration, can also use log.config, app.config, or web.config
Log.ResetConfiguration();  
NLogViewerTarget target = new NLogViewerTarget(); 

target.Url = "udp://localhost:4000";
Log.Config.Targets.Add(target);

Log.Debug("This is a test");