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: 5.3.13+628b0876960af3ee3454c99b7985dbb5e1c46bf0
  NLog.Web (in NLog.Web.dll) Version: 5.3.13+628b0876960af3ee3454c99b7985dbb5e1c46bf0
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