| 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
)
Protected Overridable Sub RenderFormattedMessageToStream (
logEvent As LogEventInfo,
formatBuilder As StringBuilder,
transformBuffer As Char(),
streamTarget As MemoryStream
)
Dim logEvent As LogEventInfo
Dim formatBuilder As StringBuilder
Dim transformBuffer As Char()
Dim streamTarget As MemoryStream
Me.RenderFormattedMessageToStream(logEvent,
formatBuilder, transformBuffer,
streamTarget)
abstract RenderFormattedMessageToStream :
logEvent : LogEventInfo *
formatBuilder : StringBuilder *
transformBuffer : char[] *
streamTarget : MemoryStream -> unit
override RenderFormattedMessageToStream :
logEvent : LogEventInfo *
formatBuilder : StringBuilder *
transformBuffer : char[] *
streamTarget : MemoryStream -> unit
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