ReconfigExistingLoggers() public method

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
return void
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();
 }
Example #2
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()
 {
     _globalFactory.ReconfigExistingLoggers();
 }