NLog.LogFactory.ReconfigExistingLoggers C# (CSharp) 메소드

ReconfigExistingLoggers() 공개 메소드

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
리턴 void
        public void ReconfigExistingLoggers()
        {
            this.ReconfigExistingLoggers(this.config);
        }

Same methods

LogFactory::ReconfigExistingLoggers ( LoggingConfiguration configuration ) : void

Usage Example

예제 #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