Click or drag to resize

FileTargetRenderFormattedMessageToStream Method

Gets the bytes to be written to the file.

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
protected virtual void RenderFormattedMessageToStream(
	LogEventInfo logEvent,
	StringBuilder formatBuilder,
	char[] transformBuffer,
	MemoryStream streamTarget
)

Parameters

logEvent
Type: NLogLogEventInfo
The log event to be formatted.
formatBuilder
Type: System.TextStringBuilder
StringBuilder to help format log event.
transformBuffer
Type: SystemChar
Optional temporary char-array to help format log event.
streamTarget
Type: System.IOMemoryStream
Destination MemoryStream for the encoded result.
See Also