Click or drag to resize

AspNetWebRootPathLayoutRendererAppend Method

Renders the value of layout renderer in the context of the specified log event into StringBuilder.

Namespace:  NLog.Web.LayoutRenderers
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 Append(
	StringBuilder builder,
	LogEventInfo logEvent
)

Parameters

builder
Type: System.TextStringBuilder
The StringBuilder to append the rendered data to.
logEvent
Type: NLogLogEventInfo
Logging event.
See Also