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