Click or drag to resize

LogManagerLoadConfiguration Method

Note: This API is now obsolete.

Loads logging configuration from file (Currently only XML configuration files supported)

Namespace:  NLog
Assembly:  NLog (in NLog.dll) Version: 5.2.0+eed5f76d158dbcaef9326f7a0e1c281adad171e8
Syntax
[ObsoleteAttribute("Replaced by LogManager.Setup().LoadConfigurationFromFile(). Marked obsolete on NLog 5.2")]
public static LogFactory LoadConfiguration(
	string configFile
)

Parameters

configFile
Type: SystemString
Configuration file to be read

Return Value

Type: LogFactory
LogFactory instance for fluent interface
See Also