Click or drag to resize

AspNetMvcLayoutRendererBaseMvcDoAppend Method (StringBuilder, LogEventInfo, HttpContext)

Renders the specified ASP.NET Application variable and appends it to the specified StringBuilder.

Namespace:  NLog.Web.LayoutRenderers
Assembly:  NLog.Web.AspNetCore (in NLog.Web.AspNetCore.dll) Version: 5.3.13+628b0876960af3ee3454c99b7985dbb5e1c46bf0
Syntax
protected abstract void MvcDoAppend(
	StringBuilder builder,
	LogEventInfo logEvent,
	HttpContext context
)

Parameters

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