Click or drag to resize

XmlLoggingConfiguration Constructor (TextReader, String, LogFactory)

Initializes a new instance of the XmlLoggingConfiguration class.

Namespace:  NLog.Config
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public XmlLoggingConfiguration(
	TextReader xmlSource,
	string? filePath,
	LogFactory logFactory
)

Parameters

xmlSource
Type: System.IOTextReader
Configuration file to be read.
filePath
Type: SystemString
Path to the config-file that contains the element (to be used as a base for including other files). null is allowed.
logFactory
Type: NLogLogFactory
The LogFactory to which to apply any applicable configuration values.
See Also