| 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: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public 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