Click or drag to resize

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
Syntax
public string Render(
	LogEventInfo logEvent
)

Parameters

logEvent
Type: NLogLogEventInfo
The log event.

Return Value

Type: String
String representation of a layout renderer.
See Also