Tcp.TcpLogger Class
From Tungsten Suite
Tungsten
|
|
TcpTcpLogger Class |
Sends log messages to a remote server via Tcp
Namespace: W.Net
Assembly: Tungsten.Net (in Tungsten.Net.dll) Version: 2.0.2
C#
public static class TcpLogger
| Name | Description | |
|---|---|---|
| LogTheMessage(IPEndPoint, String) |
Log a message to the remote machine. Note that this message is slower due to parsing the remoteIP with each call
| |
| LogTheMessage(String, Int32, String) |
Log a message to the custom logger. Note that this message is slower due to parsing the remoteIP with each call
|
Log.LogTheMessage += (category, message) => W.Net.Tcp.TcpLogger.LogTheMessage("127.0.0.1", 5555, true, category, message);