Click or drag to resize

NetworkTargetGetHeaderToWrite Method

Gets the header bytes to be written.

Namespace:  NLog.Targets
Assembly:  NLog.Targets.Network (in NLog.Targets.Network.dll) Version: 6.0.0+be83582280f7a841b0d3c6ae75b4f95aaf07e914
Syntax
protected virtual byte[]? GetHeaderToWrite(
	LogEventInfo logEvent,
	string address,
	byte[] payload
)

Parameters

logEvent
Type: NLogLogEventInfo
Log event.
address
Type: SystemString
network address.
payload
Type: SystemByte
Payload buffer.

Return Value

Type: Byte
Byte array.
See Also