| LoggingConfigurationPrepareForReload Method |
Allow this new configuration to capture state from the old configuration
Namespace:
NLog.Config
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax protected 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
Remarks Checks KeepVariablesOnReload and copies all NLog Config Variables assigned from API into the new config
See Also