Base:
method
Trace
System.Net.Http.HttpConnectionBase.Trace(System.String, System.String)
33 references to Trace
System.Net.Http (33)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http1.cs (4)
41if (NetEventSource.Log.IsEnabled()) connection.Trace("Found expired HTTP/1.1 connection in pool."); 48if (NetEventSource.Log.IsEnabled()) connection.Trace("Found invalid HTTP/1.1 connection in pool."); 53if (NetEventSource.Log.IsEnabled()) connection.Trace("Found usable HTTP/1.1 connection in pool."); 330if (NetEventSource.Log.IsEnabled()) connection.Trace("Disposing HTTP/1.1 connection when returning to pool. Connection lifetime expired.");
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (27)
103if (NetEventSource.Log.IsEnabled()) Trace("Connection closing."); 186if (NetEventSource.Log.IsEnabled()) Trace($"Error performing read ahead: {error}"); 266if (NetEventSource.Log.IsEnabled()) Trace("Read-ahead task observed data before the request was sent."); 273if (NetEventSource.Log.IsEnabled()) Trace($"Error performing read ahead: {error}"); 552if (NetEventSource.Log.IsEnabled()) Trace($"Sending request: {request}"); 571if (NetEventSource.Log.IsEnabled()) Trace($"Request content is not null, start processing it. hasExpectContinueHeader = {hasExpectContinueHeader}"); 635Trace($"Pre-emptive read completed asynchronously for a synchronous request."); 643if (NetEventSource.Log.IsEnabled()) Trace($"Received {bytesRead} bytes."); 703if (NetEventSource.Log.IsEnabled()) Trace($"Current {response.StatusCode} response is an interim response or not expected, need to read for a final response."); 774if (NetEventSource.Log.IsEnabled()) Trace("Request is fully sent."); 837if (NetEventSource.Log.IsEnabled()) Trace($"Received response: {response}"); 866if (NetEventSource.Log.IsEnabled()) Trace($"Error sending request: {error}"); 968if (NetEventSource.Log.IsEnabled()) connection.Trace("Cancellation requested. Disposing of the connection."); 996if (NetEventSource.Log.IsEnabled()) Trace("Finished sending request content."); 1013if (NetEventSource.Log.IsEnabled()) Trace($"Sending request content for Expect: 100-continue."); 1028if (NetEventSource.Log.IsEnabled()) Trace($"Canceling request content for Expect: 100-continue."); 1573if (NetEventSource.Log.IsEnabled()) Trace($"Writing {source.Length} bytes."); 1579if (NetEventSource.Log.IsEnabled()) Trace($"Writing {source.Length} bytes."); 1661if (NetEventSource.Log.IsEnabled()) Trace($"Received {bytesRead} bytes."); 1677if (NetEventSource.Log.IsEnabled()) Trace($"Received {bytesRead} bytes."); 1796if (NetEventSource.Log.IsEnabled()) Trace($"Received {count} bytes."); 1821if (NetEventSource.Log.IsEnabled()) Trace($"Received {count} bytes."); 1844if (NetEventSource.Log.IsEnabled()) Trace($"Received {bytesRead} bytes."); 1878if (NetEventSource.Log.IsEnabled()) Trace($"Received {bytesRead} bytes."); 1889if (NetEventSource.Log.IsEnabled()) Trace($"Copying {count} bytes to stream."); 2080Trace("Unexpected data on connection after response read."); 2146Trace("Connection will not be reused.");
System\Net\Http\SocketsHttpHandler\HttpContentReadStream.cs (2)
82connection.Trace(drained ? 91connection.Trace($"Connection drain failed due to exception: {e}");