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