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."); 331if (NetEventSource.Log.IsEnabled()) connection.Trace("Disposing HTTP/1.1 connection when returning to pool. Connection lifetime expired.");
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (27)
102if (NetEventSource.Log.IsEnabled()) Trace("Connection closing."); 185if (NetEventSource.Log.IsEnabled()) Trace($"Error performing read ahead: {error}"); 265if (NetEventSource.Log.IsEnabled()) Trace("Read-ahead task observed data before the request was sent."); 272if (NetEventSource.Log.IsEnabled()) Trace($"Error performing read ahead: {error}"); 549if (NetEventSource.Log.IsEnabled()) Trace($"Sending request: {request}"); 568if (NetEventSource.Log.IsEnabled()) Trace($"Request content is not null, start processing it. hasExpectContinueHeader = {hasExpectContinueHeader}"); 630Trace($"Pre-emptive read completed asynchronously for a synchronous request."); 638if (NetEventSource.Log.IsEnabled()) Trace($"Received {bytesRead} bytes."); 698if (NetEventSource.Log.IsEnabled()) Trace($"Current {response.StatusCode} response is an interim response or not expected, need to read for a final response."); 769if (NetEventSource.Log.IsEnabled()) Trace("Request is fully sent."); 832if (NetEventSource.Log.IsEnabled()) Trace($"Received response: {response}"); 861if (NetEventSource.Log.IsEnabled()) Trace($"Error sending request: {error}"); 963if (NetEventSource.Log.IsEnabled()) connection.Trace("Cancellation requested. Disposing of the connection."); 991if (NetEventSource.Log.IsEnabled()) Trace("Finished sending request content."); 1008if (NetEventSource.Log.IsEnabled()) Trace($"Sending request content for Expect: 100-continue."); 1023if (NetEventSource.Log.IsEnabled()) Trace($"Canceling request content for Expect: 100-continue."); 1568if (NetEventSource.Log.IsEnabled()) Trace($"Writing {source.Length} bytes."); 1574if (NetEventSource.Log.IsEnabled()) Trace($"Writing {source.Length} bytes."); 1634if (NetEventSource.Log.IsEnabled()) Trace($"Received {bytesRead} bytes."); 1650if (NetEventSource.Log.IsEnabled()) Trace($"Received {bytesRead} bytes."); 1769if (NetEventSource.Log.IsEnabled()) Trace($"Received {count} bytes."); 1794if (NetEventSource.Log.IsEnabled()) Trace($"Received {count} bytes."); 1817if (NetEventSource.Log.IsEnabled()) Trace($"Received {bytesRead} bytes."); 1850if (NetEventSource.Log.IsEnabled()) Trace($"Received {bytesRead} bytes."); 1861if (NetEventSource.Log.IsEnabled()) Trace($"Copying {count} bytes to stream."); 2052Trace("Unexpected data on connection after response read."); 2112Trace("Connection will not be reused.");
System\Net\Http\SocketsHttpHandler\HttpContentReadStream.cs (2)
82connection.Trace(drained ? 91connection.Trace($"Connection drain failed due to exception: {e}");