 | XmlLoggingConfiguration Constructor (TextReader, String, LogFactory) |
Namespace:
NLog.Config
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic XmlLoggingConfiguration(
TextReader xmlSource,
string? filePath,
LogFactory logFactory
)
Public Sub New (
xmlSource As TextReader,
filePath As String,
logFactory As LogFactory
)
Dim xmlSource As TextReader
Dim filePath As String
Dim logFactory As LogFactory
Dim instance As New XmlLoggingConfiguration(xmlSource,
filePath, logFactory)
new :
xmlSource : TextReader *
filePath : string *
logFactory : LogFactory -> XmlLoggingConfiguration
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