Click or drag to resize

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
Syntax
public void ReconfigExistingLoggers(
	bool purgeObsoleteLoggers
)

Parameters

purgeObsoleteLoggers
Type: SystemBoolean
Purge garbage collected logger-items from the cache
See Also