72 references to Log
System.Net.Http (72)
System\Net\Http\HttpClient.cs (13)
194if (HttpTelemetry.Log.IsEnabled() && telemetryStarted) 196HttpTelemetry.Log.ResponseContentStart(); 269if (HttpTelemetry.Log.IsEnabled() && telemetryStarted) 271HttpTelemetry.Log.ResponseContentStart(); 481if (HttpTelemetry.Log.IsEnabled() && telemetryStarted) 483HttpTelemetry.Log.ResponseContentStart(); 536if (HttpTelemetry.Log.IsEnabled() && telemetryStarted) 538HttpTelemetry.Log.ResponseContentStart(); 636if (HttpTelemetry.Log.IsEnabled()) 638HttpTelemetry.Log.RequestStart(request); 648if (HttpTelemetry.Log.IsEnabled() && telemetryStarted) 652HttpTelemetry.Log.ResponseContentStop(); 655HttpTelemetry.Log.RequestStop(response);
System\Net\Http\HttpMessageInvoker.cs (7)
40HttpTelemetry.Log.RequestStart(request); 55HttpTelemetry.Log.RequestStop(response); 79HttpTelemetry.Log.RequestStart(request); 94HttpTelemetry.Log.RequestStop(response); 100HttpTelemetry.Log.IsEnabled() && 107if (HttpTelemetry.Log.IsEnabled() && telemetryStarted) 109HttpTelemetry.Log.RequestFailed(exception);
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (1)
81long queueStartingTimestamp = HttpTelemetry.Log.IsEnabled() || Settings._metrics!.RequestsQueueDuration.Enabled ? Stopwatch.GetTimestamp() : 0;
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionWaiter.cs (3)
22return HttpTelemetry.Log.IsEnabled() || pool.Settings._metrics!.RequestsQueueDuration.Enabled 43if (HttpTelemetry.Log.IsEnabled()) 45HttpTelemetry.Log.RequestLeftQueue(versionMajor, duration);
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (4)
1621if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestHeadersStart(Id); 1679if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestHeadersStop();
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (8)
212if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestContentStart(); 235if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestContentStop(writeStream.BytesWritten); 1055if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.ResponseHeadersStart(); 1071if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.ResponseHeadersStop((int)_response.StatusCode);
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (2)
204if (HttpTelemetry.Log.IsEnabled()) 206HttpTelemetry.Log.RequestLeftQueue(versionMajor: 3, duration);
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (12)
349if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.ResponseHeadersStart(); 374if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.ResponseHeadersStop((int)_response.StatusCode); 410if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestContentStart(); 445if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestContentStop(bytesWritten); 574if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestHeadersStart(_connection.Id); 679if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestHeadersStop();
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (12)
516if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestHeadersStart(Id); 520if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestHeadersStop(); 632if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.ResponseHeadersStart(); 681if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.ResponseHeadersStop((int)response.StatusCode); 933if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestContentStart(); 951if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestContentStop(stream.BytesWritten);
System\Net\Http\SocketsHttpHandler\HttpConnectionBase.cs (8)
66if (HttpTelemetry.Log.IsEnabled()) 74if (this is HttpConnection) HttpTelemetry.Log.Http11ConnectionEstablished(Id, scheme, host, port, remoteEndPoint); 75else if (this is Http2Connection) HttpTelemetry.Log.Http20ConnectionEstablished(Id, scheme, host, port, remoteEndPoint); 76else HttpTelemetry.Log.Http30ConnectionEstablished(Id, scheme, host, port, remoteEndPoint); 84if (HttpTelemetry.Log.IsEnabled()) 89if (this is HttpConnection) HttpTelemetry.Log.Http11ConnectionClosed(Id); 90else if (this is Http2Connection) HttpTelemetry.Log.Http20ConnectionClosed(Id); 91else HttpTelemetry.Log.Http30ConnectionClosed(Id);
System\Net\Http\SocketsHttpHandler\RedirectHandler.cs (2)
56if (HttpTelemetry.Log.IsEnabled()) 58HttpTelemetry.Log.Redirect(redirectUri.AbsoluteUri);