Click or drag to resize

LayoutRendererGetCulture Method

Get the CultureInfo for rendering the messages to a String

Namespace:  NLog.LayoutRenderers
Assembly:  NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntax
protected CultureInfo GetCulture(
	LogEventInfo logEvent,
	CultureInfo layoutCulture = null
)

Parameters

logEvent
Type: NLogLogEventInfo
LogEvent with culture
layoutCulture (Optional)
Type: System.GlobalizationCultureInfo
Culture in on Layout level

Return Value

Type: CultureInfo
Remarks
See Also