Click or drag to resize

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
)

Parameters

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

Return Value

Type: XmlLoggingConfiguration
See Also