7 references to LoggerFactory
InMemory.FunctionalTests (1)
HttpsConnectionMiddlewareTests.cs (1)
1479var loggerFactory = testLogger is null ? (ILoggerFactory)NullLoggerFactory.Instance : new LoggerFactory(new[] { new KestrelTestLoggerProvider(testLogger) });
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (5)
ConnectionDispatcherTests.cs (1)
27var loggerFactory = new LoggerFactory(new[] { new KestrelTestLoggerProvider(testLogger) });
KestrelServerTests.cs (4)
285new LoggerFactory(new[] { new KestrelTestLoggerProvider() }))); 311loggerFactory ?? new LoggerFactory(new[] { new KestrelTestLoggerProvider() }), 974return new KestrelServer(Options.Create(options), new MockTransportFactory(), new LoggerFactory(new[] { new KestrelTestLoggerProvider(testLogger) })); 979return new KestrelServer(Options.Create(options), new MockTransportFactory(), new LoggerFactory(new[] { new KestrelTestLoggerProvider(throwOnCriticalErrors) }));
Microsoft.Extensions.Logging (1)
LoggerFactory.cs (1)
34public LoggerFactory() : this(Array.Empty<ILoggerProvider>())