Click or drag to resize

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
Syntax
protected void PrepareForReload(
	LoggingConfiguration oldConfig
)

Parameters

oldConfig
Type: NLog.ConfigLoggingConfiguration
Old config that is about to be replaced
Remarks
Checks KeepVariablesOnReload and copies all NLog Config Variables assigned from API into the new config
See Also