예제 #1
0
 public static void Init(LoggingConfiguration configuration)
 {
     NlogLoggerFactoryInstance = new NlogLoggerFactory(configuration);
     LogManager.SetLoggerFactory(NlogLoggerFactoryInstance);
 }
예제 #2
0
 private static void ConfigFileSystemWatcherOnChanged(string configFileName)
 {
     NlogLoggerFactory.SetConfiguration(LoadConfig(configFileName));
 }