 | LoggingConfigurationParserLoadConfig Method |
Loads NLog configuration from provided config section
Namespace:
NLog.Config
Assembly:
NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntaxprotected void LoadConfig(
ILoggingConfigurationElement nlogConfig,
string basePath
)
Protected Sub LoadConfig (
nlogConfig As ILoggingConfigurationElement,
basePath As String
)
Dim nlogConfig As ILoggingConfigurationElement
Dim basePath As String
Me.LoadConfig(nlogConfig, basePath)
member LoadConfig :
nlogConfig : ILoggingConfigurationElement *
basePath : string -> unit
Parameters
- nlogConfig
- Type: NLog.ConfigILoggingConfigurationElement
- basePath
- Type: SystemString
Directory where the NLog-config-file was loaded from
See Also