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)
230
if (NetEventSource.Log.IsEnabled())
Trace
($"Initial connection-level WINDOW_UPDATE, windowUpdateAmount={windowUpdateAmount}");
283
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(_shutdown)}={_shutdown}, {nameof(_abortException)}={_abortException}");
333
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(_streamsInUse)}={_streamsInUse}");
384
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(result)}={result}, {nameof(_availableStreamsWaiter)}?={_availableStreamsWaiter is not null}");
398
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(_outgoingBuffer.ActiveLength)}={_outgoingBuffer.ActiveLength}");
418
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(initialFrame)}={initialFrame}");
458
Trace
($"HTTP/2 handshake failed. Server returned {response}");
514
if (NetEventSource.Log.IsEnabled())
Trace
($"Frame 0: {frameHeader}.");
573
if (NetEventSource.Log.IsEnabled())
Trace
($"Frame {frameNum}: {frameHeader}.");
626
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(ProcessIncomingFramesAsync)}: {e.Message}");
660
if (NetEventSource.Log.IsEnabled())
Trace
($"{frameHeader}");
763
if (NetEventSource.Log.IsEnabled())
Trace
($"{frameHeader}");
865
if (NetEventSource.Log.IsEnabled())
Trace
($"Applying setting {(SettingId)settingId}={settingValue}");
954
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(newValue)}={newValue}, {nameof(_streamsInUse)}={_streamsInUse}, {nameof(_availableStreamsWaiter)}?={_availableStreamsWaiter is not null}");
968
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(newSize)}={newSize}");
1019
if (NetEventSource.Log.IsEnabled())
Trace
($"Received PING frame, content:{pingContentLong} ack: {frameHeader.AckFlag}");
1042
if (NetEventSource.Log.IsEnabled())
Trace
($"{frameHeader}. {nameof(amount)}={amount}");
1265
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(writeBytes)}={writeBytes}");
1298
if (NetEventSource.Log.IsEnabled())
Trace
($"Unexpected exception in {nameof(ProcessOutgoingFramesAsync)}: {e}");
1317
if (NetEventSource.Log.IsEnabled()) thisRef.
Trace
("Started writing.");
1338
if (NetEventSource.Log.IsEnabled()) state.thisRef.
Trace
($"Started writing. {nameof(pingContent)}={state.pingContent}");
1397
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(HeartBeat)}: {e.Message}");
1410
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(index)}={index}");
1423
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(index)}={index}, {nameof(value)}={value}");
1436
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(name)}={name}, {nameof(values)}={string.Join(", ", values)}");
1449
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(values)}={string.Join(Encoding.ASCII.GetString(separator ?? []), values)}");
1462
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(value)}={value}");
1475
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(bytes.Length)}={bytes.Length}");
1484
if (NetEventSource.Log.IsEnabled())
Trace
("");
1556
if (NetEventSource.Log.IsEnabled())
Trace
("");
1844
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(amount)}={amount}");
1851
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(_pendingWindowUpdate)} {_pendingWindowUpdate} < {ConnectionWindowThreshold}.");
1864
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(_pendingWindowUpdate)}={_pendingWindowUpdate}");
1876
if (NetEventSource.Log.IsEnabled()) this.
Trace
("Number of untransmitted PING and SETTING frames exceeded limit.");
1898
if (NetEventSource.Log.IsEnabled())
Trace
($"{nameof(abortException)}=={abortException}");
1906
if (NetEventSource.Log.IsEnabled())
Trace
($"Abort called while already aborting. {nameof(abortException)}={abortException}");
1932
if (NetEventSource.Log.IsEnabled())
Trace
("");
2084
if (NetEventSource.Log.IsEnabled())
Trace
($"Sending request: {request}");
2129
if (NetEventSource.Log.IsEnabled())
Trace
($"Sending request content failed: {e}");
2167
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");