 | XmlLoggingConfigurationCreateFromXmlString Method (String, LogFactory) |
Parse XML string as NLog configuration
Namespace:
NLog.Config
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic static XmlLoggingConfiguration CreateFromXmlString(
string xml,
LogFactory logFactory
)
Public Shared Function CreateFromXmlString (
xml As String,
logFactory As LogFactory
) As XmlLoggingConfiguration
Dim xml As String
Dim logFactory As LogFactory
Dim returnValue As XmlLoggingConfiguration
returnValue = XmlLoggingConfiguration.CreateFromXmlString(xml,
logFactory)
static member CreateFromXmlString :
xml : string *
logFactory : LogFactory -> XmlLoggingConfiguration
Parameters
- xml
- Type: SystemString
NLog configuration in XML to be parsed - logFactory
- Type: NLogLogFactory
NLog LogFactory
Return Value
Type:
XmlLoggingConfiguration
See Also