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