NLog.LogFactory.ReconfigExistingLoggers C# (CSharp) Méthode

ReconfigExistingLoggers() public méthode

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.
public ReconfigExistingLoggers ( ) : void
Résultat void
        public void ReconfigExistingLoggers()
        {
            this.ReconfigExistingLoggers(this.config);
        }

Same methods

LogFactory::ReconfigExistingLoggers ( LoggingConfiguration configuration ) : void

Usage Example

Exemple #1
0
 /// <summary>
 /// 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.
 /// </summary>
 public static void ReconfigExistingLoggers()
 {
     factory.ReconfigExistingLoggers();
 }
All Usage Examples Of NLog.LogFactory::ReconfigExistingLoggers