| XmlLoggingConfigurationCreateFromXmlString Method (String, LogFactory) |
Parse XML string as NLog configuration
Namespace:
NLog.Config
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public 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:
XmlLoggingConfigurationSee Also