| AspNetMvcControllerRendererDoAppend 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: 5.3.13+628b0876960af3ee3454c99b7985dbb5e1c46bf0
NLog.Web (in NLog.Web.dll) Version: 5.3.13+628b0876960af3ee3454c99b7985dbb5e1c46bf0
Syntax protected override void DoAppend(
StringBuilder builder,
LogEventInfo logEvent
)
Protected Overrides Sub DoAppend (
builder As StringBuilder,
logEvent As LogEventInfo
)
Dim builder As StringBuilder
Dim logEvent As LogEventInfo
Me.DoAppend(builder, logEvent)
abstract DoAppend :
builder : StringBuilder *
logEvent : LogEventInfo -> unit
override DoAppend :
builder : StringBuilder *
logEvent : LogEventInfo -> unit
Parameters
- builder
- Type: System.TextStringBuilder
The StringBuilder to append the rendered data to. - logEvent
- Type: NLogLogEventInfo
Logging event.
Remarks See Also