-
Notifications
You must be signed in to change notification settings - Fork 0
e79c7b15 d5c2 1735 1310 c3b0bcb7e98f
Writes provided message using underlying client connection.
Namespace: Plexdata.LogWriter.Internals.Writers
Assembly: Plexdata.LogWriter.Network (in Plexdata.LogWriter.Network.dll) Version: 1.0.7.1
C#
public void Write(
string message
)
- message
- Type: System.String
The message to write.
This method writes provided message using underlying client connection.
Nothing happens either if this instance is already disposed, or if the message is invalid, or if open the underlying client has failed for any reason.
Furthermore, a zero termination is appended to the message, but only if Termination is enabled and the message does not yet end with a zero termination.
Finally note, the client connection is closed automatically if the message end with a zero termination.
TcpNetworkWriter Class
Plexdata.LogWriter.Internals.Writers Namespace
INetworkLoggerSettings.Termination
INetworkLoggerSettings.Encoding
ITcpClientSocket.Open()
ITcpClientSocket.Send(Byte[])
ITcpClientSocket.Close()