| 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
)
Protected Overridable Sub TransformStream (
logEvent As LogEventInfo,
stream As MemoryStream
)
Dim logEvent As LogEventInfo
Dim stream As MemoryStream
Me.TransformStream(logEvent, stream)
abstract TransformStream :
logEvent : LogEventInfo *
stream : MemoryStream -> unit
override TransformStream :
logEvent : LogEventInfo *
stream : MemoryStream -> unit
Parameters
- logEvent
- Type: NLogLogEventInfo
The LogEvent being written - stream
- Type: System.IOMemoryStream
The byte array.
See Also