Tungsten
TcpTcpLogger Class |
Sends log messages to a remote server via Tcp
Inheritance Hierarchy
Namespace: W.Net
Assembly: Tungsten.Net (in Tungsten.Net.dll) Version: 2.0.2
Syntax
C#
public static class TcpLogger
Methods
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
|
Examples
Log.LogTheMessage += (category, message) => W.Net.Tcp.TcpLogger.LogTheMessage("127.0.0.1", 5555, true, category, message);
See Also