 | LoggingConfigurationPrepareForReload Method |
Allow this new configuration to capture state from the old configuration
Namespace:
NLog.Config
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxprotected void PrepareForReload(
LoggingConfiguration oldConfig
)
Protected Sub PrepareForReload (
oldConfig As LoggingConfiguration
)
Dim oldConfig As LoggingConfiguration
Me.PrepareForReload(oldConfig)
member PrepareForReload :
oldConfig : LoggingConfiguration -> unit
Parameters
- oldConfig
- Type: NLog.ConfigLoggingConfiguration
Old config that is about to be replaced
RemarksChecks KeepVariablesOnReload and copies all NLog Config Variables assigned from API into the new config
See Also