 | SimpleLayout Constructor (String, ConfigurationItemFactory) |
Namespace:
NLog.Layouts
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic 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