Skip to content

bcafc11f 0b3d cb49 7cd8 0a06fcd8294f

Axel Kesseler edited this page Mar 1, 2023 · 1 revision

INetworkLoggerSettings.Termination Property

Enables or disables the usage of zero termination.

Namespace: Plexdata.LogWriter.Abstraction
Assembly: Plexdata.LogWriter.Network (in Plexdata.LogWriter.Network.dll) Version: 1.0.7.1

Syntax

C#

bool Termination { get; set; }

Property Value

Type: Boolean
True to enable zero termination and false to disable it. Default is false.

Remarks

This property allows to enable or to disable the usage of a zero termination for messages sent to remote host. The zero termination is only append if it hasn't been appended yet.

According to the specification "GELF VIA TCP" please note: "GELF TCP does not support compression due to the use of the null byte (\0) as frame delimiter."

Attention, any client connection is closed automatically if this property is set to false OR a message does not already end with a zero termination! Otherwise the client connection is kept open.

Keep in mind, this property is used only together with protocol type TCP.

See Also

Reference

INetworkLoggerSettings Interface
Plexdata.LogWriter.Abstraction Namespace
INetworkLoggerSettings.Protocol

Clone this wiki locally