| SimpleLayout Constructor (String, ConfigurationItemFactory) |
Namespace:
NLog.Layouts
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public SimpleLayout(
string txt,
ConfigurationItemFactory configurationItemFactory
)
Public Sub New (
txt As String,
configurationItemFactory As ConfigurationItemFactory
)
Dim txt As String
Dim configurationItemFactory As ConfigurationItemFactory
Dim instance As New SimpleLayout(txt, configurationItemFactory)
new :
txt : string *
configurationItemFactory : ConfigurationItemFactory -> SimpleLayout
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