11 writes to Log
InMemory.FunctionalTests (2)
src\Servers\Kestrel\shared\test\TestContextFactory.cs (1)
34Log = new KestrelTrace(NullLoggerFactory.Instance),
src\Servers\Kestrel\shared\test\TestServiceContext.cs (1)
54Log = kestrelTrace;
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\KestrelServerImpl.cs (1)
100Log = trace,
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (5)
Http1\Http1ConnectionTests.cs (2)
843_serviceContext.Log = new KestrelTrace(NullLoggerFactory.Instance); 857_serviceContext.Log = previousLog;
src\Servers\Kestrel\shared\test\TestContextFactory.cs (1)
34Log = new KestrelTrace(NullLoggerFactory.Instance),
src\Servers\Kestrel\shared\test\TestServiceContext.cs (1)
54Log = kestrelTrace;
TestHelpers\TestInput.cs (1)
43Log = log ?? new KestrelTrace(NullLoggerFactory.Instance)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\shared\test\TestContextFactory.cs (1)
34Log = new KestrelTrace(NullLoggerFactory.Instance),
Sockets.BindTests (1)
src\Servers\Kestrel\shared\test\TestServiceContext.cs (1)
54Log = kestrelTrace;
Sockets.FunctionalTests (1)
src\Servers\Kestrel\shared\test\TestServiceContext.cs (1)
54Log = kestrelTrace;
39 references to Log
InMemory.FunctionalTests (7)
ConnectionLimitTests.cs (1)
240var middleware = new ConnectionLimitMiddleware<ConnectionContext>(c => next(c), concurrentConnectionCounter, serviceContext.Log, metrics: serviceContext.Metrics);
EventSourceTests.cs (1)
376return new ConnectionLimitMiddleware<ConnectionContext>(c => next(c), connectionLimit: 0, serviceContext.Log, metrics: null).OnConnectionAsync;
src\Servers\Kestrel\shared\test\TestServiceContext.cs (3)
44Log, 59ConnectionManager = new ConnectionManager(Log, ResourceCounter.Unlimited); 60HttpParser = new HttpParser<Http1ParsingHandler>(Log.IsEnabled(LogLevel.Information), disableHttp1LineFeedTerminators);
TestTransport\TestServer.cs (1)
118var transportConnection = new InMemoryTransportConnection(_memoryPool, Context.Log, Context.Scheduler);
UpgradeTests.cs (1)
306serviceContext.ConnectionManager = new ConnectionManager(serviceContext.Log, ResourceCounter.Quota(limit));
Microsoft.AspNetCore.Server.Kestrel.Core (17)
Internal\ConnectionDispatcher.cs (1)
24private KestrelTrace Log => _serviceContext.Log;
Internal\Http\Http1Connection.cs (1)
61_context.ServiceContext.Log,
Internal\Http\HttpProtocol.cs (1)
107protected KestrelTrace Log => ServiceContext.Log;
Internal\Http\MessageBody.cs (1)
46protected KestrelTrace Log => _context.ServiceContext.Log;
Internal\Http2\Http2Connection.cs (1)
211public KestrelTrace Log => _context.ServiceContext.Log;
Internal\Http2\Http2FrameWriter.cs (2)
125_log = serviceContext.Log; 128_flusher = new TimingPipeFlusher(timeoutControl, serviceContext.Log);
Internal\Http2\Http2OutputProducer.cs (1)
65_log = context.ServiceContext.Log;
Internal\Http3\Http3Connection.cs (1)
94private KestrelTrace Log => _context.ServiceContext.Log;
Internal\Http3\Http3ControlStream.cs (2)
63context.ServiceContext.Log, 76public KestrelTrace Log => _context.ServiceContext.Log;
Internal\Http3\Http3Stream.cs (2)
125context.ServiceContext.Log, 134context.ServiceContext.Log);
Internal\HttpConnection.cs (1)
51private KestrelTrace Log => _context.ServiceContext.Log;
Internal\Infrastructure\TransportManager.cs (1)
33private KestrelTrace Trace => _serviceContext.Log;
Internal\KestrelServerImpl.cs (1)
120private KestrelTrace Trace => ServiceContext.Log;
Internal\WebTransport\WebTransportStream.cs (1)
50_log = context.ServiceContext.Log;
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (7)
ConnectionDispatcherTests.cs (1)
123id: 0, serviceContext, transportConnectionManager, connectionDelegate, connection, serviceContext.Log, TestContextFactory.CreateMetricsContext(connection));
Http1\Http1ConnectionTests.cs (1)
839var previousLog = _serviceContext.Log;
Http1\Http1OutputProducerTests.cs (1)
238serviceContext.Log,
KestrelServerTests.cs (1)
736testContext.Log,
src\Servers\Kestrel\shared\test\TestServiceContext.cs (3)
44Log, 59ConnectionManager = new ConnectionManager(Log, ResourceCounter.Unlimited); 60HttpParser = new HttpParser<Http1ParsingHandler>(Log.IsEnabled(LogLevel.Information), disableHttp1LineFeedTerminators);
Sockets.BindTests (4)
src\Servers\Kestrel\shared\test\TestServiceContext.cs (3)
44Log, 59ConnectionManager = new ConnectionManager(Log, ResourceCounter.Unlimited); 60HttpParser = new HttpParser<Http1ParsingHandler>(Log.IsEnabled(LogLevel.Information), disableHttp1LineFeedTerminators);
src\Servers\Kestrel\shared\test\TransportTestHelpers\TestServer.cs (1)
118Context.Log.LogDebug($"TestServer is listening on port {Port}");
Sockets.FunctionalTests (4)
src\Servers\Kestrel\shared\test\TestServiceContext.cs (3)
44Log, 59ConnectionManager = new ConnectionManager(Log, ResourceCounter.Unlimited); 60HttpParser = new HttpParser<Http1ParsingHandler>(Log.IsEnabled(LogLevel.Information), disableHttp1LineFeedTerminators);
src\Servers\Kestrel\shared\test\TransportTestHelpers\TestServer.cs (1)
118Context.Log.LogDebug($"TestServer is listening on port {Port}");