Click or drag to resize

FileTargetTransformStream Method

Modifies the specified byte array before it gets sent to a file.

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
protected virtual void TransformStream(
	LogEventInfo logEvent,
	MemoryStream stream
)

Parameters

logEvent
Type: NLogLogEventInfo
The LogEvent being written
stream
Type: System.IOMemoryStream
The byte array.
See Also