Click or drag to resize

NetworkTargetGetBytesToWrite Method

Gets the payload 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[] GetBytesToWrite(
	LogEventInfo logEvent
)

Parameters

logEvent
Type: NLogLogEventInfo
Log event.

Return Value

Type: Byte
Byte array.
See Also