Click or drag to resize

SimpleLayout Constructor (String, ConfigurationItemFactory)

Initializes a new instance of the SimpleLayout class.

Namespace:  NLog.Layouts
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public SimpleLayout(
	string txt,
	ConfigurationItemFactory configurationItemFactory
)

Parameters

txt
Type: SystemString
The layout string to parse.
configurationItemFactory
Type: NLog.ConfigConfigurationItemFactory
The NLog factories to use when creating references to layout renderers.
See Also