Exemplo n.º 1
0
 public Log4NetLogger(ILog4NetConfigurator log4NetConfigurator)
 {
     CheckLogger();
     log4NetConfigurator.Configurate();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Configures the log4net config.
 /// </summary>
 /// <param name="log4NetConfigurator">The configurator class that will call the configurator. Injected as dependency for testing purposes.</param>
 private static void ConfigureLog(ILog4NetConfigurator log4NetConfigurator)
 {
     log4NetConfigurator.Configure();
 }