 | 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
Syntaxprotected virtual byte[] GetBytesToWrite(
LogEventInfo logEvent
)
Protected Overridable Function GetBytesToWrite (
logEvent As LogEventInfo
) As Byte()
Dim logEvent As LogEventInfo
Dim returnValue As Byte()
returnValue = Me.GetBytesToWrite(logEvent)
abstract GetBytesToWrite :
logEvent : LogEventInfo -> byte[]
override GetBytesToWrite :
logEvent : LogEventInfo -> byte[]
Parameters
- logEvent
- Type: NLogLogEventInfo
Log event.
Return Value
Type:
ByteByte array.
See Also