NetworkTarget Properties |
The NetworkTarget type exposes the following members.
Name | Description | |
---|---|---|
Address |
Gets or sets the network address.
| |
Compress |
Type of compression for protocol payload. Useful for UDP where datagram max-size is 8192 bytes.
| |
CompressMinBytes |
Skip compression when protocol payload is below limit to reduce overhead in cpu-usage and additional headers
| |
ConnectionCacheSize |
Gets or sets the size of the connection cache (number of connections which are kept alive). Requires KeepConnection = true
| |
Encoding |
Gets or sets the encoding to be used.
| |
IsInitialized |
Gets a value indicating whether the target has been initialized.
(Inherited from Target.) | |
KeepAliveTimeSeconds |
The number of seconds a connection will remain idle before the first keep-alive probe is sent
| |
KeepConnection |
Gets or sets a value indicating whether to keep connection open whenever possible.
| |
Layout |
Gets or sets the layout used to format log messages.
(Inherited from TargetWithLayout.) | |
LineEnding |
Gets or sets the end of line value if a newline is appended at the end of log message NewLine.
| |
LoggingConfiguration |
Gets the logging configuration this target is part of.
(Inherited from Target.) | |
MaxConnections |
Gets or sets the maximum simultaneous connections. Requires KeepConnection = false
| |
MaxMessageSize |
Gets or sets the maximum message size in bytes. On limit breach then OnOverflow action is activated.
| |
MaxQueueSize |
Gets or sets the maximum queue size for a single connection. Requires KeepConnection = true
| |
Name |
Gets or sets the name of the target.
(Inherited from Target.) | |
NewLine |
Gets or sets a value indicating whether to append newline at the end of log message.
| |
OnConnectionOverflow |
Gets or sets the action that should be taken, when more connections than MaxConnections.
| |
OnOverflow |
Gets or sets the action that should be taken if the message is larger than MaxMessageSize | |
OnQueueOverflow |
Gets or sets the action that should be taken, when more pending messages than MaxQueueSize.
| |
SendTimeoutSeconds |
The number of seconds a TCP socket send-operation will block before timeout error. Default wait forever when network cable unplugged and tcp-buffer becomes full.
| |
SslProtocols |
Gets or sets the SSL/TLS protocols. Default no SSL/TLS is used. Currently only implemented for TCP.
| |
SyncRoot |
Gets the object which can be used to synchronize asynchronous operations that must rely on the .
(Inherited from Target.) |