 | LogFactoryReconfigExistingLoggers Method (Boolean) |
Loops through all loggers previously returned by GetLogger and recalculates their
target and filter list. Useful after modifying the configuration programmatically
to ensure that all loggers have been properly configured.
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic void ReconfigExistingLoggers(
bool purgeObsoleteLoggers
)
Public Sub ReconfigExistingLoggers (
purgeObsoleteLoggers As Boolean
)
Dim instance As LogFactory
Dim purgeObsoleteLoggers As Boolean
instance.ReconfigExistingLoggers(purgeObsoleteLoggers)
member ReconfigExistingLoggers :
purgeObsoleteLoggers : bool -> unit
Parameters
- purgeObsoleteLoggers
- Type: SystemBoolean
Purge garbage collected logger-items from the cache
See Also