public void InitializingTwoProvidersDoesNotThrow() { var settings = new Log4NetSettings(); var providerA = new Log4NetProvider(); var providerB = new Log4NetProvider(); providerA.Initialize(settings); providerB.Initialize(settings); }
private static Log4NetProvider CreateProvider(XDocument configuration) { var settings = new Log4NetSettings { RootRepository = Guid.NewGuid().ToString() }; var provider = new Log4NetProvider(x => configuration, x => true); provider.Initialize(settings); return(provider); }
public void InitializingTwoProvidersDoesNotThrow() { var settings = new Log4NetSettings { RootRepository = Guid.NewGuid().ToString() }; var providerA = new Log4NetProvider(); var providerB = new Log4NetProvider(); providerA.Initialize(settings); providerB.Initialize(settings); }