NET Logging Library
Logging to TCP/IP
Basic Tasks > Logging to TCP/IP

The TCP/IP Target logs messages to a TCP/IP listner on a port

It has these properties that can be configured:

 

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

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