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)
112
if (NetEventSource.Log.IsEnabled()) connection.
Trace
("Found expired HTTP/2 connection in pool.");
120
if (NetEventSource.Log.IsEnabled()) connection.
Trace
("Found HTTP/2 connection in pool without available streams.");
141
if (NetEventSource.Log.IsEnabled()) connection.
Trace
("Found usable HTTP/2 connection in pool.");
386
if (NetEventSource.Log.IsEnabled()) connection.
Trace
($"{nameof(isNewConnection)}={isNewConnection}");
400
if (NetEventSource.Log.IsEnabled()) connection.
Trace
("Disposing HTTP2 connection return to pool. Connection lifetime expired.");
471
if (NetEventSource.Log.IsEnabled()) connection.
Trace
("Put HTTP2 connection in pool.");
477
if (NetEventSource.Log.IsEnabled()) connection.
Trace
("Disposing HTTP2 connection returned to pool. Pool was disposed.");
494
if (NetEventSource.Log.IsEnabled()) connection.
Trace
("New HTTP2 connection is unusable due to no available streams.");
520
if (NetEventSource.Log.IsEnabled()) connection.
Trace
("");
528
if (NetEventSource.Log.IsEnabled()) connection.
Trace
($"{nameof(connection.WaitForAvailableStreamsAsync)} completed, {nameof(usable)}={usable}");
547
if (NetEventSource.Log.IsEnabled()) connection.
Trace
("HTTP2 connection no longer usable");
558
if (NetEventSource.Log.IsEnabled()) connection.
Trace
("");
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (40)
233
if (NetEventSource.Log.IsEnabled())
Trace
($"Initial connection-level WINDOW_UPDATE, windowUpdateAmount={windowUpdateAmount}");
286
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(_shutdown)}={_shutdown}, {nameof(_abortException)}={_abortException}");
336
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(_streamsInUse)}={_streamsInUse}");
387
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(result)}={result}, {nameof(_availableStreamsWaiter)}?={_availableStreamsWaiter is not null}");
401
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(_outgoingBuffer.ActiveLength)}={_outgoingBuffer.ActiveLength}");
421
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(initialFrame)}={initialFrame}");
461
Trace
($"HTTP/2 handshake failed. Server returned {response}");
517
if (NetEventSource.Log.IsEnabled())
Trace
($"Frame 0: {frameHeader}.");
576
if (NetEventSource.Log.IsEnabled())
Trace
($"Frame {frameNum}: {frameHeader}.");
629
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(ProcessIncomingFramesAsync)}: {e.Message}");
663
if (NetEventSource.Log.IsEnabled())
Trace
($"{frameHeader}");
766
if (NetEventSource.Log.IsEnabled())
Trace
($"{frameHeader}");
868
if (NetEventSource.Log.IsEnabled())
Trace
($"Applying setting {(SettingId)settingId}={settingValue}");
950
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(newValue)}={newValue}, {nameof(_streamsInUse)}={_streamsInUse}, {nameof(_availableStreamsWaiter)}?={_availableStreamsWaiter is not null}");
964
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(newSize)}={newSize}");
1015
if (NetEventSource.Log.IsEnabled())
Trace
($"Received PING frame, content:{pingContentLong} ack: {frameHeader.AckFlag}");
1038
if (NetEventSource.Log.IsEnabled())
Trace
($"{frameHeader}. {nameof(amount)}={amount}");
1261
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(writeBytes)}={writeBytes}");
1294
if (NetEventSource.Log.IsEnabled())
Trace
($"Unexpected exception in {nameof(ProcessOutgoingFramesAsync)}: {e}");
1313
if (NetEventSource.Log.IsEnabled()) thisRef.
Trace
("Started writing.");
1334
if (NetEventSource.Log.IsEnabled()) state.thisRef.
Trace
($"Started writing. {nameof(pingContent)}={state.pingContent}");
1393
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(HeartBeat)}: {e.Message}");
1406
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(index)}={index}");
1419
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(index)}={index}, {nameof(value)}={value}");
1432
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(name)}={name}, {nameof(values)}={string.Join(", ", values)}");
1445
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(values)}={string.Join(Encoding.ASCII.GetString(separator ?? []), values)}");
1458
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(value)}={value}");
1471
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(bytes.Length)}={bytes.Length}");
1480
if (NetEventSource.Log.IsEnabled())
Trace
("");
1552
if (NetEventSource.Log.IsEnabled())
Trace
("");
1840
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(amount)}={amount}");
1847
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(_pendingWindowUpdate)} {_pendingWindowUpdate} < {ConnectionWindowThreshold}.");
1860
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(_pendingWindowUpdate)}={_pendingWindowUpdate}");
1872
if (NetEventSource.Log.IsEnabled()) this.
Trace
("Number of untransmitted PING and SETTING frames exceeded limit.");
1894
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(abortException)}=={abortException}");
1902
if (NetEventSource.Log.IsEnabled())
Trace
($"Abort called while already aborting. {nameof(abortException)}={abortException}");
1928
if (NetEventSource.Log.IsEnabled())
Trace
("");
2080
if (NetEventSource.Log.IsEnabled())
Trace
($"Sending request: {request}");
2125
if (NetEventSource.Log.IsEnabled())
Trace
($"Sending request content failed: {e}");
2163
Trace
($"Received session-based authentication challenge on HTTP/2, request will be retried on HTTP/1.1.");
System\Net\Http\SocketsHttpHandler\Http2StreamWindowManager.cs (4)
222
if (NetEventSource.Log.IsEnabled()) connection.
Trace
($"[FlowControl] Sending RTT PING with payload {_pingCounter}");
233
if (NetEventSource.Log.IsEnabled()) connection.
Trace
($"[FlowControl] Unexpected PING ACK in state {_state}");
248
if (NetEventSource.Log.IsEnabled()) connection.
Trace
($"[FlowControl] Unexpected RTT PING ACK payload {payload}, should be {_pingCounter}.");
277
if (NetEventSource.Log.IsEnabled()) connection.
Trace
($"[FlowControl] Updated MinRtt: {MinRtt.TotalMilliseconds} ms");