 | LayoutRendererRender Method |
Renders the value of layout renderer in the context of the specified log event.
Namespace:
NLog.LayoutRenderers
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic string Render(
LogEventInfo logEvent
)
Public Function Render (
logEvent As LogEventInfo
) As String
Dim instance As LayoutRenderer
Dim logEvent As LogEventInfo
Dim returnValue As String
returnValue = instance.Render(logEvent)
abstract Render :
logEvent : LogEventInfo -> string
override Render :
logEvent : LogEventInfo -> string
Parameters
- logEvent
- Type: NLogLogEventInfo
The log event.
Return Value
Type:
StringString representation of a layout renderer.
See Also