NET Logging Library
Logging To Log4View Udp
Basic Tasks > Logging To Log4View Udp

The Log4ViewUdpTarget logs messages real time to Log4View Log Viewer. 

It has these properties that can be configured:

 

//Example runtime configuration, can also use log.config, app.config, or web.config
Log.ResetConfiguration(); 
Log4ViewUdpTarget target = new Log4ViewUdpTarget();  
target.CurrentIpAddress = "127.0.0.1";
target.Port = 878;
Log.Config.Targets.Add(target);

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