 | LoggingConfigurationParserLoadConfig Method |
Loads NLog configuration from provided config section
Namespace:
NLog.Config
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
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