Click or drag to resize

XmlLoggingConfigurationCreateFromXmlString Method (String, LogFactory)

Parse XML string as NLog configuration

Namespace:  NLog.Config
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public static XmlLoggingConfiguration CreateFromXmlString(
	string xml,
	LogFactory logFactory
)

Parameters

xml
Type: SystemString
NLog configuration in XML to be parsed
logFactory
Type: NLogLogFactory
NLog LogFactory

Return Value

Type: XmlLoggingConfiguration
See Also