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: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
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