Click or drag to resize

W3CExtendedLogLayoutRenderFormattedMessage Method

Renders formatted output using the log event as context.

Namespace:  NLog.Web.Layouts
Assemblies:   NLog.Web.AspNetCore (in NLog.Web.AspNetCore.dll) Version: 6.0.0+59339f2811712b446adf6dcd8a6bad39ad9f2ba1
  NLog.Web (in NLog.Web.dll) Version: 6.0.0+59339f2811712b446adf6dcd8a6bad39ad9f2ba1
Syntax
protected override void RenderFormattedMessage(
	LogEventInfo logEvent,
	StringBuilder target
)

Parameters

logEvent
Type: NLogLogEventInfo
The logging event.
target
Type: System.TextStringBuilder
Appends the formatted output to target
See Also