Base:
method
Trace
System.Net.Http.HttpConnectionBase.Trace(System.String, System.String)
56 references to Trace
System.Net.Http (56)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http2.cs (12)
112if (NetEventSource.Log.IsEnabled()) connection.Trace("Found expired HTTP/2 connection in pool."); 120if (NetEventSource.Log.IsEnabled()) connection.Trace("Found HTTP/2 connection in pool without available streams."); 141if (NetEventSource.Log.IsEnabled()) connection.Trace("Found usable HTTP/2 connection in pool."); 386if (NetEventSource.Log.IsEnabled()) connection.Trace($"{nameof(isNewConnection)}={isNewConnection}"); 400if (NetEventSource.Log.IsEnabled()) connection.Trace("Disposing HTTP2 connection return to pool. Connection lifetime expired."); 471if (NetEventSource.Log.IsEnabled()) connection.Trace("Put HTTP2 connection in pool."); 477if (NetEventSource.Log.IsEnabled()) connection.Trace("Disposing HTTP2 connection returned to pool. Pool was disposed."); 494if (NetEventSource.Log.IsEnabled()) connection.Trace("New HTTP2 connection is unusable due to no available streams."); 520if (NetEventSource.Log.IsEnabled()) connection.Trace(""); 528if (NetEventSource.Log.IsEnabled()) connection.Trace($"{nameof(connection.WaitForAvailableStreamsAsync)} completed, {nameof(usable)}={usable}"); 547if (NetEventSource.Log.IsEnabled()) connection.Trace("HTTP2 connection no longer usable"); 558if (NetEventSource.Log.IsEnabled()) connection.Trace("");
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (40)
230if (NetEventSource.Log.IsEnabled()) Trace($"Initial connection-level WINDOW_UPDATE, windowUpdateAmount={windowUpdateAmount}"); 283if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(_shutdown)}={_shutdown}, {nameof(_abortException)}={_abortException}"); 333if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(_streamsInUse)}={_streamsInUse}"); 384if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(result)}={result}, {nameof(_availableStreamsWaiter)}?={_availableStreamsWaiter is not null}"); 398if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(_outgoingBuffer.ActiveLength)}={_outgoingBuffer.ActiveLength}"); 418if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(initialFrame)}={initialFrame}"); 458Trace($"HTTP/2 handshake failed. Server returned {response}"); 514if (NetEventSource.Log.IsEnabled()) Trace($"Frame 0: {frameHeader}."); 573if (NetEventSource.Log.IsEnabled()) Trace($"Frame {frameNum}: {frameHeader}."); 626if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(ProcessIncomingFramesAsync)}: {e.Message}"); 660if (NetEventSource.Log.IsEnabled()) Trace($"{frameHeader}"); 763if (NetEventSource.Log.IsEnabled()) Trace($"{frameHeader}"); 865if (NetEventSource.Log.IsEnabled()) Trace($"Applying setting {(SettingId)settingId}={settingValue}"); 954if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(newValue)}={newValue}, {nameof(_streamsInUse)}={_streamsInUse}, {nameof(_availableStreamsWaiter)}?={_availableStreamsWaiter is not null}"); 968if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(newSize)}={newSize}"); 1019if (NetEventSource.Log.IsEnabled()) Trace($"Received PING frame, content:{pingContentLong} ack: {frameHeader.AckFlag}"); 1042if (NetEventSource.Log.IsEnabled()) Trace($"{frameHeader}. {nameof(amount)}={amount}"); 1265if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(writeBytes)}={writeBytes}"); 1298if (NetEventSource.Log.IsEnabled()) Trace($"Unexpected exception in {nameof(ProcessOutgoingFramesAsync)}: {e}"); 1317if (NetEventSource.Log.IsEnabled()) thisRef.Trace("Started writing."); 1338if (NetEventSource.Log.IsEnabled()) state.thisRef.Trace($"Started writing. {nameof(pingContent)}={state.pingContent}"); 1397if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(HeartBeat)}: {e.Message}"); 1410if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(index)}={index}"); 1423if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(index)}={index}, {nameof(value)}={value}"); 1436if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(name)}={name}, {nameof(values)}={string.Join(", ", values)}"); 1449if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(values)}={string.Join(Encoding.ASCII.GetString(separator ?? []), values)}"); 1462if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(value)}={value}"); 1475if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(bytes.Length)}={bytes.Length}"); 1484if (NetEventSource.Log.IsEnabled()) Trace(""); 1556if (NetEventSource.Log.IsEnabled()) Trace(""); 1844if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(amount)}={amount}"); 1851if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(_pendingWindowUpdate)} {_pendingWindowUpdate} < {ConnectionWindowThreshold}."); 1864if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(_pendingWindowUpdate)}={_pendingWindowUpdate}"); 1876if (NetEventSource.Log.IsEnabled()) this.Trace("Number of untransmitted PING and SETTING frames exceeded limit."); 1898if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(abortException)}=={abortException}"); 1906if (NetEventSource.Log.IsEnabled()) Trace($"Abort called while already aborting. {nameof(abortException)}={abortException}"); 1932if (NetEventSource.Log.IsEnabled()) Trace(""); 2084if (NetEventSource.Log.IsEnabled()) Trace($"Sending request: {request}"); 2129if (NetEventSource.Log.IsEnabled()) Trace($"Sending request content failed: {e}"); 2167Trace($"Received session-based authentication challenge on HTTP/2, request will be retried on HTTP/1.1.");
System\Net\Http\SocketsHttpHandler\Http2StreamWindowManager.cs (4)
222if (NetEventSource.Log.IsEnabled()) connection.Trace($"[FlowControl] Sending RTT PING with payload {_pingCounter}"); 233if (NetEventSource.Log.IsEnabled()) connection.Trace($"[FlowControl] Unexpected PING ACK in state {_state}"); 248if (NetEventSource.Log.IsEnabled()) connection.Trace($"[FlowControl] Unexpected RTT PING ACK payload {payload}, should be {_pingCounter}."); 277if (NetEventSource.Log.IsEnabled()) connection.Trace($"[FlowControl] Updated MinRtt: {MinRtt.TotalMilliseconds} ms");