1727 references to IsEnabled
Aspire.Hosting (30)
AspireEventSource.cs (30)
17if (IsEnabled()) 26if (IsEnabled()) 35if (IsEnabled()) 44if (IsEnabled()) 53if (IsEnabled()) 62if (IsEnabled()) 71if (IsEnabled()) 80if (IsEnabled()) 89if (IsEnabled()) 98if (IsEnabled()) 107if (IsEnabled()) 116if (IsEnabled()) 125if (IsEnabled()) 134if (IsEnabled()) 143if (IsEnabled()) 152if (IsEnabled()) 161if (IsEnabled()) 170if (IsEnabled()) 179if (IsEnabled()) 188if (IsEnabled()) 197if (IsEnabled()) 206if (IsEnabled()) 215if (IsEnabled()) 224if (IsEnabled()) 233if (IsEnabled()) 242if (IsEnabled()) 251if (IsEnabled()) 260if (IsEnabled()) 269if (IsEnabled()) 278if (IsEnabled())
dotnet-dev-certs (31)
src\Shared\CertificateGeneration\CertificateManager.cs (27)
98if (Log.IsEnabled()) 114if (Log.IsEnabled()) 137if (Log.IsEnabled()) 202if (Log.IsEnabled()) 228if (Log.IsEnabled()) 237if (Log.IsEnabled()) 253if (Log.IsEnabled()) 258if (Log.IsEnabled()) 276if (Log.IsEnabled()) 300if (Log.IsEnabled()) 309if (Log.IsEnabled()) 339if (Log.IsEnabled()) 409if (Log.IsEnabled()) 421if (Log.IsEnabled()) 428if (Log.IsEnabled()) 440if (Log.IsEnabled()) 453if (Log.IsEnabled()) 468if (Log.IsEnabled()) 504if (Log.IsEnabled()) 583catch (Exception e) when (Log.IsEnabled()) 606catch (Exception ex) when (Log.IsEnabled()) 634catch (Exception ex) when (Log.IsEnabled()) 701if (Log.IsEnabled()) 716if (Log.IsEnabled()) 724catch (Exception ex) when (Log.IsEnabled()) 819if (Log.IsEnabled()) 826catch (Exception ex) when (Log.IsEnabled())
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (4)
100if (Log.IsEnabled()) 252if (Log.IsEnabled()) 315if (Log.IsEnabled()) 353if (Log.IsEnabled())
illink (2)
Microsoft.AspNetCore.ConcurrencyLimiter (3)
ConcurrencyLimiterEventSource.cs (3)
45if (IsEnabled()) 56if (IsEnabled()) 79if (_parent.IsEnabled() && _timer != null)
Microsoft.AspNetCore.DeveloperCertificates.XPlat (31)
src\Shared\CertificateGeneration\CertificateManager.cs (27)
98if (Log.IsEnabled()) 114if (Log.IsEnabled()) 137if (Log.IsEnabled()) 202if (Log.IsEnabled()) 228if (Log.IsEnabled()) 237if (Log.IsEnabled()) 253if (Log.IsEnabled()) 258if (Log.IsEnabled()) 276if (Log.IsEnabled()) 300if (Log.IsEnabled()) 309if (Log.IsEnabled()) 339if (Log.IsEnabled()) 409if (Log.IsEnabled()) 421if (Log.IsEnabled()) 428if (Log.IsEnabled()) 440if (Log.IsEnabled()) 453if (Log.IsEnabled()) 468if (Log.IsEnabled()) 504if (Log.IsEnabled()) 583catch (Exception e) when (Log.IsEnabled()) 606catch (Exception ex) when (Log.IsEnabled()) 634catch (Exception ex) when (Log.IsEnabled()) 701if (Log.IsEnabled()) 716if (Log.IsEnabled()) 724catch (Exception ex) when (Log.IsEnabled()) 819if (Log.IsEnabled()) 826catch (Exception ex) when (Log.IsEnabled())
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (4)
100if (Log.IsEnabled()) 252if (Log.IsEnabled()) 315if (Log.IsEnabled()) 353if (Log.IsEnabled())
Microsoft.AspNetCore.Hosting (1)
Internal\HostingApplicationDiagnostics.cs (1)
74if (_eventSource.IsEnabled())
Microsoft.AspNetCore.Http.Connections (2)
Internal\HttpConnectionContext.cs (1)
592if (HttpConnectionsEventSource.Log.IsEnabled() || MetricsContext.ConnectionDurationEnabled)
Internal\HttpConnectionsEventSource.cs (1)
43if (IsEnabled())
Microsoft.AspNetCore.Server.Kestrel.Core (34)
Internal\Infrastructure\KestrelEventSource.cs (3)
99if (IsEnabled()) 124if (IsEnabled()) 234if (IsEnabled())
src\Shared\CertificateGeneration\CertificateManager.cs (27)
98if (Log.IsEnabled()) 114if (Log.IsEnabled()) 137if (Log.IsEnabled()) 202if (Log.IsEnabled()) 228if (Log.IsEnabled()) 237if (Log.IsEnabled()) 253if (Log.IsEnabled()) 258if (Log.IsEnabled()) 276if (Log.IsEnabled()) 300if (Log.IsEnabled()) 309if (Log.IsEnabled()) 339if (Log.IsEnabled()) 409if (Log.IsEnabled()) 421if (Log.IsEnabled()) 428if (Log.IsEnabled()) 440if (Log.IsEnabled()) 453if (Log.IsEnabled()) 468if (Log.IsEnabled()) 504if (Log.IsEnabled()) 583catch (Exception e) when (Log.IsEnabled()) 606catch (Exception ex) when (Log.IsEnabled()) 634catch (Exception ex) when (Log.IsEnabled()) 701if (Log.IsEnabled()) 716if (Log.IsEnabled()) 724catch (Exception ex) when (Log.IsEnabled()) 819if (Log.IsEnabled()) 826catch (Exception ex) when (Log.IsEnabled())
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (4)
100if (Log.IsEnabled()) 252if (Log.IsEnabled()) 315if (Log.IsEnabled()) 353if (Log.IsEnabled())
Microsoft.Build (8)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (1)
563if (MSBuildEventSource.Log.IsEnabled())
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1218if (MSBuildEventSource.Log.IsEnabled())
Construction\ProjectRootElement.cs (2)
1543if (MSBuildEventSource.Log.IsEnabled()) 1576if (MSBuildEventSource.Log.IsEnabled())
Evaluation\LazyItemEvaluator.IncludeOperation.cs (2)
107if (MSBuildEventSource.Log.IsEnabled()) 124if (MSBuildEventSource.Log.IsEnabled())
Graph\ProjectGraph.cs (2)
457if (MSBuildEventSource.Log.IsEnabled()) 477if (MSBuildEventSource.Log.IsEnabled())
Microsoft.CodeAnalysis (5)
CodeAnalysisEventSource.Common.cs (2)
41if (IsEnabled()) 69if (IsEnabled())
SourceGeneration\GeneratorDriver.cs (1)
383if (CodeAnalysisEventSource.Log.IsEnabled())
SourceGeneration\Nodes\InputNode.cs (1)
124if (!CodeAnalysisEventSource.Log.IsEnabled())
SourceGeneration\Nodes\NodeExtensions.cs (1)
14if (CodeAnalysisEventSource.Log.IsEnabled())
Microsoft.CodeAnalysis.Workspaces (2)
src\Compilers\Core\Portable\CodeAnalysisEventSource.Common.cs (2)
41if (IsEnabled()) 69if (IsEnabled())
Microsoft.Extensions.Caching.Hybrid (5)
Internal\DefaultHybridCache.cs (1)
147bool eventSourceEnabled = HybridCacheEventSource.Log.IsEnabled();
Internal\DefaultHybridCache.L2.cs (1)
217if (HybridCacheEventSource.Log.IsEnabled())
Internal\DefaultHybridCache.StampedeStateT.cs (1)
169bool eventSourceEnabled = HybridCacheEventSource.Log.IsEnabled();
Internal\DefaultHybridCache.TagInvalidation.cs (1)
258if (HybridCacheEventSource.Log.IsEnabled())
Internal\HybridCacheEventSource.cs (1)
230Debug.Assert(IsEnabled(), $"Missing check to {nameof(HybridCacheEventSource)}.{nameof(Log)}.{nameof(IsEnabled)} from {caller}");
Microsoft.Extensions.Caching.Hybrid.Tests (1)
TestEventListener.cs (1)
40Assert.True(Source.IsEnabled(), "should report as enabled");
Microsoft.Extensions.Http.Diagnostics (1)
Latency\Internal\HttpRequestLatencyListener.cs (1)
86if (Enabled && !eventSource.IsEnabled())
Microsoft.Extensions.Http.Diagnostics.Tests (10)
Latency\Internal\HttpRequestLatencyListenerTest.cs (10)
54Assert.False(es.IsEnabled()); 59Assert.False(esSockets.IsEnabled()); 64Assert.False(esHttp.IsEnabled()); 69Assert.False(esNameRes.IsEnabled()); 87Assert.False(es.IsEnabled()); 105Assert.True(esSockets.IsEnabled()); 110Assert.True(esHttp.IsEnabled()); 115Assert.True(esNameRes.IsEnabled()); 133Assert.True(esSockets.IsEnabled()); 137Assert.True(esSockets.IsEnabled());
Microsoft.Extensions.Logging.EventSource (4)
LoggingEventSource.cs (4)
223if (IsEnabled()) 234if (IsEnabled()) 311if (IsEnabled()) 337if (IsEnabled())
System.Collections.Concurrent (5)
System\Collections\Concurrent\ConcurrentBag.cs (1)
172if (CDSCollectionETWBCLProvider.Log.IsEnabled())
System\Collections\Concurrent\ConcurrentDictionary.cs (1)
2088if (CDSCollectionETWBCLProvider.Log.IsEnabled())
System\Collections\Concurrent\ConcurrentStack.cs (3)
381if (CDSCollectionETWBCLProvider.Log.IsEnabled()) 595if (count == 1 && CDSCollectionETWBCLProvider.Log.IsEnabled()) 613if (count == 1 && CDSCollectionETWBCLProvider.Log.IsEnabled())
System.Data.Common (11)
System\Data\Common\DataCommonEventSource.cs (11)
30if (!Log.IsEnabled()) return; 37if (!Log.IsEnabled()) return; 44if (!Log.IsEnabled()) return; 51if (!Log.IsEnabled()) return; 58if (!Log.IsEnabled()) return; 65if (!Log.IsEnabled()) return; 73if (Log.IsEnabled()) 85internal long EnterScope<T1>(string format, T1 arg1) => Log.IsEnabled() ? EnterScope(string.Format(format, arg1)) : 0; 88internal long EnterScope<T1, T2>(string format, T1 arg1, T2 arg2) => Log.IsEnabled() ? EnterScope(string.Format(format, arg1, arg2)) : 0; 91internal long EnterScope<T1, T2, T3>(string format, T1 arg1, T2 arg2, T3 arg3) => Log.IsEnabled() ? EnterScope(string.Format(format, arg1, arg2, arg3)) : 0; 94internal long EnterScope<T1, T2, T3, T4>(string format, T1 arg1, T2 arg2, T3 arg3, T4 arg4) => Log.IsEnabled() ? EnterScope(string.Format(format, arg1, arg2, arg3, arg4)) : 0;
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\MetricsEventSource.cs (1)
500|| !Parent.IsEnabled());
System.Net.Http (295)
src\libraries\Common\src\System\Net\CredentialCacheKey.cs (2)
41if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Match({UriPrefix} & {uri})"); 91if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Equals({this},{other}) returns {equals}");
src\libraries\Common\src\System\Net\DebugSafeHandle.cs (1)
35if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, _trace);
src\libraries\Common\src\System\Net\DebugSafeHandleZeroOrMinusOneIsInvalid.cs (2)
20if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Creating SafeHandle"); 25if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, _trace);
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.Associate.cs (1)
35Debug.Assert(IsEnabled());
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
80Debug.Assert(IsEnabled()); 105Debug.Assert(IsEnabled());
src\libraries\Common\src\System\Net\Security\CertificateHelper.cs (5)
40if (NetEventSource.Log.IsEnabled()) 49if (NetEventSource.Log.IsEnabled()) 57if (NetEventSource.Log.IsEnabled()) 70if (NetEventSource.Log.IsEnabled()) 78if (NetEventSource.Log.IsEnabled())
System\Net\Http\DelegatingHandler.cs (1)
31if (NetEventSource.Log.IsEnabled()) NetEventSource.Associate(this, value);
System\Net\Http\Headers\ByteArrayHeaderParser.cs (1)
52if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, SR.Format(SR.net_http_parser_invalid_base64_string, base64String, e.Message));
System\Net\Http\Headers\HeaderUtilities.cs (1)
138if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(null, SR.Format(SR.net_http_log_headers_invalid_quality, qualityParameter.Value));
System\Net\Http\Headers\HttpHeaders.cs (2)
803if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(null, SR.Format(SR.net_http_log_headers_no_newlines, descriptor.Name, rawValue)); 815if (NetEventSource.Log.IsEnabled()) NetEventSource.Log.HeadersInvalidValue(descriptor.Name, rawValue);
System\Net\Http\HttpClient.cs (8)
94if (NetEventSource.Log.IsEnabled()) NetEventSource.UriBaseAddress(this, value); 194if (HttpTelemetry.Log.IsEnabled() && telemetryStarted) 266if (HttpTelemetry.Log.IsEnabled() && telemetryStarted) 474if (HttpTelemetry.Log.IsEnabled() && telemetryStarted) 529if (HttpTelemetry.Log.IsEnabled() && telemetryStarted) 619if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, e); 629if (HttpTelemetry.Log.IsEnabled()) 641if (HttpTelemetry.Log.IsEnabled() && telemetryStarted)
System\Net\Http\HttpContent.cs (3)
75if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this); 407if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, e); 669if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, e);
System\Net\Http\HttpMessageHandler.cs (1)
16if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this);
System\Net\Http\HttpMessageInvoker.cs (3)
25if (NetEventSource.Log.IsEnabled()) NetEventSource.Associate(this, handler); 100HttpTelemetry.Log.IsEnabled() && 107if (HttpTelemetry.Log.IsEnabled() && telemetryStarted)
System\Net\Http\HttpRequestMessage.cs (1)
68if (NetEventSource.Log.IsEnabled())
System\Net\Http\HttpResponseMessage.cs (2)
49if (NetEventSource.Log.IsEnabled()) 136if (value is not null && NetEventSource.Log.IsEnabled())
System\Net\Http\MultipartContent.cs (3)
178if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, ex); 228if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, ex); 301if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, ex);
System\Net\Http\NetEventSource.Http.cs (4)
24Debug.Assert(Log.IsEnabled()); 35Debug.Assert(Log.IsEnabled()); 58Debug.Assert(Log.IsEnabled()); 69Debug.Assert(Log.IsEnabled());
System\Net\Http\SocketsHttpHandler\AuthenticationHelper.cs (10)
95if (NetEventSource.Log.IsEnabled()) 103if (NetEventSource.Log.IsEnabled()) 120if (NetEventSource.Log.IsEnabled()) 194if (NetEventSource.Log.IsEnabled()) 271if (NetEventSource.Log.IsEnabled()) 296if (NetEventSource.Log.IsEnabled()) 308if (NetEventSource.Log.IsEnabled()) 318if (NetEventSource.Log.IsEnabled()) 327if (NetEventSource.Log.IsEnabled()) 340if (NetEventSource.Log.IsEnabled() && response.StatusCode == HttpStatusCode.Unauthorized)
System\Net\Http\SocketsHttpHandler\AuthenticationHelper.Digest.cs (3)
54if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(digestResponse, $"Algorithm not supported: {algorithm}"); 67if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(digestResponse, "Nonce missing"); 78if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(digestResponse, "Realm missing");
System\Net\Http\SocketsHttpHandler\AuthenticationHelper.NtAuth.cs (4)
82if (NetEventSource.Log.IsEnabled()) 112if (NetEventSource.Log.IsEnabled()) 126if (NetEventSource.Log.IsEnabled()) 155if (NetEventSource.Log.IsEnabled())
System\Net\Http\SocketsHttpHandler\ChunkedEncodingReadStream.cs (1)
422if (NetEventSource.Log.IsEnabled())
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (8)
259if (NetEventSource.Log.IsEnabled()) Trace($"{this}"); 287if (NetEventSource.Log.IsEnabled()) 515if (NetEventSource.Log.IsEnabled()) 525if (NetEventSource.Log.IsEnabled()) 540if (NetEventSource.Log.IsEnabled()) 550if (NetEventSource.Log.IsEnabled()) 633if (NetEventSource.Log.IsEnabled()) 922if (NetEventSource.Log.IsEnabled()) Trace("Disposing the pool.");
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http1.cs (8)
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."); 231if (NetEventSource.Log.IsEnabled()) 252if (NetEventSource.Log.IsEnabled()) Trace("Creating new HTTP/1.1 connection for pool."); 308if (NetEventSource.Log.IsEnabled()) Trace($"HTTP/1.1 connection failed: {e}"); 330if (NetEventSource.Log.IsEnabled()) connection.Trace("Disposing HTTP/1.1 connection when returning to pool. Connection lifetime expired."); 340if (NetEventSource.Log.IsEnabled()) Trace("");
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http2.cs (19)
95if (NetEventSource.Log.IsEnabled()) Trace($"No available HTTP/2 connections; request queued."); 103if (NetEventSource.Log.IsEnabled()) connection.Trace("Found expired HTTP/2 connection in pool."); 111if (NetEventSource.Log.IsEnabled()) connection.Trace("Found HTTP/2 connection in pool without available streams."); 132if (NetEventSource.Log.IsEnabled()) connection.Trace("Found usable HTTP/2 connection in pool."); 152if (NetEventSource.Log.IsEnabled()) 174if (NetEventSource.Log.IsEnabled()) Trace("Creating new HTTP/2 connection for pool."); 272if (NetEventSource.Log.IsEnabled()) Trace($"HTTP2 connection failed: {e}"); 291if (NetEventSource.Log.IsEnabled()) Trace("Server does not support HTTP2; disabling HTTP2 use and proceeding with HTTP/1.1 connection"); 322if (NetEventSource.Log.IsEnabled()) Trace("Downgrading queued HTTP2 request to HTTP/1.1"); 338if (NetEventSource.Log.IsEnabled()) Trace("Discarding downgraded HTTP/1.1 connection because HTTP/1.1 connection limit is exceeded"); 365if (NetEventSource.Log.IsEnabled()) connection.Trace($"{nameof(isNewConnection)}={isNewConnection}"); 379if (NetEventSource.Log.IsEnabled()) connection.Trace("Disposing HTTP2 connection return to pool. Connection lifetime expired."); 450if (NetEventSource.Log.IsEnabled()) connection.Trace("Put HTTP2 connection in pool."); 456if (NetEventSource.Log.IsEnabled()) connection.Trace("Disposing HTTP2 connection returned to pool. Pool was disposed."); 473if (NetEventSource.Log.IsEnabled()) connection.Trace("New HTTP2 connection is unusable due to no available streams."); 499if (NetEventSource.Log.IsEnabled()) connection.Trace(""); 507if (NetEventSource.Log.IsEnabled()) connection.Trace($"{nameof(connection.WaitForAvailableStreamsAsync)} completed, {nameof(usable)}={usable}"); 526if (NetEventSource.Log.IsEnabled()) connection.Trace("HTTP2 connection no longer usable"); 537if (NetEventSource.Log.IsEnabled()) connection.Trace("");
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (16)
90long queueStartingTimestamp = HttpTelemetry.Log.IsEnabled() || Settings._metrics!.RequestsQueueDuration.Enabled ? Stopwatch.GetTimestamp() : 0; 162if (NetEventSource.Log.IsEnabled()) Trace($"No available HTTP/3 connections; request queued."); 170if (NetEventSource.Log.IsEnabled()) connection.Trace("Found expired HTTP/3 connection in pool."); 180if (NetEventSource.Log.IsEnabled()) connection.Trace("Found HTTP/3 connection in pool without available streams."); 201if (NetEventSource.Log.IsEnabled()) connection.Trace("Found usable HTTP/3 connection in pool."); 226if (NetEventSource.Log.IsEnabled()) 253if (NetEventSource.Log.IsEnabled()) Trace("Creating new HTTP/3 connection for pool."); 336if (NetEventSource.Log.IsEnabled()) Trace($"HTTP3 connection failed: {e}"); 367if (NetEventSource.Log.IsEnabled()) connection.Trace($"{nameof(isNewConnection)}={isNewConnection}"); 381if (NetEventSource.Log.IsEnabled()) connection.Trace("Disposing HTTP3 connection return to pool. Connection lifetime expired."); 456if (NetEventSource.Log.IsEnabled()) connection.Trace("Put HTTP3 connection in pool."); 462if (NetEventSource.Log.IsEnabled()) connection.Trace("Disposing HTTP3 connection returned to pool. Pool was disposed."); 491if (NetEventSource.Log.IsEnabled()) connection.Trace(""); 499if (NetEventSource.Log.IsEnabled()) connection.Trace($"{nameof(connection.WaitForAvailableStreamsAsync)} completed, {nameof(usable)}={usable}"); 518if (NetEventSource.Log.IsEnabled()) connection.Trace("HTTP3 connection no longer usable"); 534if (NetEventSource.Log.IsEnabled()) connection.Trace("");
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionWaiter.cs (5)
22return HttpTelemetry.Log.IsEnabled() || pool.Settings._metrics!.RequestsQueueDuration.Enabled || Activity.Current?.Source == DiagnosticsHandler.s_activitySource 50if (HttpTelemetry.Log.IsEnabled()) 63if (NetEventSource.Log.IsEnabled()) connection.Trace("Dequeued waiting request."); 68if (NetEventSource.Log.IsEnabled()) 95if (NetEventSource.Log.IsEnabled())
System\Net\Http\SocketsHttpHandler\ConnectionPool\RequestQueue.cs (1)
131if (NetEventSource.Log.IsEnabled())
System\Net\Http\SocketsHttpHandler\CookieHelper.cs (1)
31if (NetEventSource.Log.IsEnabled())
System\Net\Http\SocketsHttpHandler\CreditManager.cs (4)
25if (NetEventSource.Log.IsEnabled()) owner.Trace($"{name}. {nameof(initialCredit)}={initialCredit}"); 60if (NetEventSource.Log.IsEnabled()) _owner.Trace($"{_name}. requested={amount}, no credit available."); 90if (NetEventSource.Log.IsEnabled()) _owner.Trace($"{_name}. {nameof(amount)}={amount}, current={_current}"); 170if (NetEventSource.Log.IsEnabled()) _owner.Trace($"{_name}. requested={amount}, current={_current}, granted={granted}");
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (51)
172if (NetEventSource.Log.IsEnabled()) TraceConnection(_stream); 222if (NetEventSource.Log.IsEnabled()) Trace($"Initial connection-level WINDOW_UPDATE, windowUpdateAmount={windowUpdateAmount}"); 270if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(_shutdown)}={_shutdown}, {nameof(_abortException)}={_abortException}"); 320if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(_streamsInUse)}={_streamsInUse}"); 371if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(result)}={result}, {nameof(_availableStreamsWaiter)}?={_availableStreamsWaiter is not null}"); 385if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(_outgoingBuffer.ActiveLength)}={_outgoingBuffer.ActiveLength}"); 405if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(initialFrame)}={initialFrame}"); 442if (initialFrame && NetEventSource.Log.IsEnabled()) 501if (NetEventSource.Log.IsEnabled()) Trace($"Frame 0: {frameHeader}."); 560if (NetEventSource.Log.IsEnabled()) Trace($"Frame {frameNum}: {frameHeader}."); 613if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(ProcessIncomingFramesAsync)}: {e.Message}"); 647if (NetEventSource.Log.IsEnabled()) Trace($"{frameHeader}"); 750if (NetEventSource.Log.IsEnabled()) Trace($"{frameHeader}"); 852if (NetEventSource.Log.IsEnabled()) Trace($"Applying setting {(SettingId)settingId}={settingValue}"); 933if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(newValue)}={newValue}, {nameof(_streamsInUse)}={_streamsInUse}, {nameof(_availableStreamsWaiter)}?={_availableStreamsWaiter is not null}"); 947if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(newSize)}={newSize}"); 998if (NetEventSource.Log.IsEnabled()) Trace($"Received PING frame, content:{pingContentLong} ack: {frameHeader.AckFlag}"); 1021if (NetEventSource.Log.IsEnabled()) Trace($"{frameHeader}. {nameof(amount)}={amount}"); 1071if (NetEventSource.Log.IsEnabled()) Trace(frameHeader.StreamId, $"{nameof(protocolError)}={protocolError}"); 1130if (NetEventSource.Log.IsEnabled()) Trace(frameHeader.StreamId, $"{nameof(lastStreamId)}={lastStreamId}, {nameof(errorCode)}={errorCode}"); 1244if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(writeBytes)}={writeBytes}"); 1277if (NetEventSource.Log.IsEnabled()) Trace($"Unexpected exception in {nameof(ProcessOutgoingFramesAsync)}: {e}"); 1290if (NetEventSource.Log.IsEnabled()) thisRef.Trace("Started writing."); 1302if (NetEventSource.Log.IsEnabled()) state.thisRef.Trace($"Started writing. {nameof(pingContent)}={state.pingContent}"); 1316if (NetEventSource.Log.IsEnabled()) s.thisRef.Trace(s.streamId, $"Started writing. {nameof(s.errorCode)}={s.errorCode}"); 1339if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(HeartBeat)}: {e.Message}"); 1352if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(index)}={index}"); 1365if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(index)}={index}, {nameof(value)}={value}"); 1378if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(name)}={name}, {nameof(values)}={string.Join(", ", values.ToArray())}"); 1391if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(values)}={string.Join(Encoding.ASCII.GetString(separator ?? []), values.ToArray())}"); 1404if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(value)}={value}"); 1417if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(bytes.Length)}={bytes.Length}"); 1426if (NetEventSource.Log.IsEnabled()) Trace(""); 1498if (NetEventSource.Log.IsEnabled()) Trace(""); 1638if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestHeadersStart(Id); 1663if (NetEventSource.Log.IsEnabled()) s.thisRef.Trace(s.http2Stream.StreamId, $"Started writing. Total header bytes={s.headerBytes.Length}"); 1676if (NetEventSource.Log.IsEnabled()) s.thisRef.Trace(s.http2Stream.StreamId, $"Wrote HEADERS frame. Length={current.Length}, flags={flags}"); 1688if (NetEventSource.Log.IsEnabled()) s.thisRef.Trace(s.http2Stream.StreamId, $"Wrote CONTINUATION frame. Length={current.Length}, flags={flags}"); 1696if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestHeadersStop(); 1741if (NetEventSource.Log.IsEnabled()) s.thisRef.Trace(s.streamId, $"Started writing. {nameof(writeBuffer.Length)}={writeBuffer.Length}"); 1761if (NetEventSource.Log.IsEnabled()) s.thisRef.Trace(s.streamId, "Started writing."); 1774if (NetEventSource.Log.IsEnabled()) s.thisRef.Trace(s.streamId, $"Started writing. {nameof(s.amount)}={s.amount}"); 1786if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(amount)}={amount}"); 1793if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(_pendingWindowUpdate)} {_pendingWindowUpdate} < {ConnectionWindowThreshold}."); 1806if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(_pendingWindowUpdate)}={_pendingWindowUpdate}"); 1818if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(abortException)}=={abortException}"); 1826if (NetEventSource.Log.IsEnabled()) Trace($"Abort called while already aborting. {nameof(abortException)}={abortException}"); 1852if (NetEventSource.Log.IsEnabled()) Trace(""); 2000if (NetEventSource.Log.IsEnabled()) Trace($"Sending request: {request}"); 2045if (NetEventSource.Log.IsEnabled()) Trace($"Sending request content failed: {e}"); 2077if (NetEventSource.Log.IsEnabled()) Trace(http2Stream.StreamId, "");
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (28)
151if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(initialWindowSize)}={initialWindowSize}"); 186if (NetEventSource.Log.IsEnabled()) Trace($"{_request.Content}"); 212if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestContentStart(); 235if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestContentStop(writeStream.BytesWritten); 238if (NetEventSource.Log.IsEnabled()) Trace($"Finished sending request body."); 242if (NetEventSource.Log.IsEnabled()) Trace($"Failed to send request body: {e}"); 336if (NetEventSource.Log.IsEnabled()) Trace($"Waiting to send request body content for 100-Continue."); 351if (NetEventSource.Log.IsEnabled()) thisRef.Trace($"100-Continue timer expired."); 370if (NetEventSource.Log.IsEnabled()) Trace($"Stream reset. Request={_requestCompletionState}, Response={_responseCompletionState}."); 387if (NetEventSource.Log.IsEnabled()) Trace($"Stream complete. Request={_requestCompletionState}, Response={_responseCompletionState}."); 404if (NetEventSource.Log.IsEnabled()) Trace(""); 559if (NetEventSource.Log.IsEnabled()) Trace($"Invalid request pseudo-header ID {index}."); 582if (NetEventSource.Log.IsEnabled()) Trace($"Invalid request pseudo-header ID {index}."); 615if (NetEventSource.Log.IsEnabled()) Trace($"Status code is {statusCode}"); 630if (NetEventSource.Log.IsEnabled()) Trace("Received extra status header."); 637if (NetEventSource.Log.IsEnabled()) Trace($"Status pseudo-header received in {_responseProtocolState} state."); 651if (NetEventSource.Log.IsEnabled()) Trace("Received 100-Continue status."); 670if (NetEventSource.Log.IsEnabled()) Trace($"Expecting 100 Continue but received final status {statusCode}."); 679if (NetEventSource.Log.IsEnabled()) Trace($"{descriptor.Name}: {Encoding.ASCII.GetString(value)}"); 700if (NetEventSource.Log.IsEnabled()) Trace("Received header before status."); 744if (NetEventSource.Log.IsEnabled()) Trace($"Invalid response pseudo-header '{Encoding.ASCII.GetString(name)}'."); 803if (NetEventSource.Log.IsEnabled()) Trace("Trailing headers received without endStream"); 944if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(resetException)}={resetException}, {nameof(resetStreamErrorCode)}={resetStreamErrorCode}"); 1055if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.ResponseHeadersStart(); 1071if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.ResponseHeadersStop((int)_response.StatusCode); 1097if (NetEventSource.Log.IsEnabled()) Trace($"Received response: {_response}"); 1560if (NetEventSource.Log.IsEnabled()) _http2Stream?.Trace(""); 1567if (NetEventSource.Log.IsEnabled()) _http2Stream?.Trace($"Error: {e}");
System\Net\Http\SocketsHttpHandler\Http2StreamWindowManager.cs (7)
30if (NetEventSource.Log.IsEnabled()) stream.Trace($"[FlowControl] InitialClientStreamWindowSize: {StreamWindowSize}, StreamWindowThreshold: {StreamWindowThreshold}, WindowScaleThresholdMultiplier: {WindowScaleThresholdMultiplier}"); 118if (NetEventSource.Log.IsEnabled()) stream.Trace($"[FlowControl] Updated Stream Window. StreamWindowSize: {StreamWindowSize}, StreamWindowThreshold: {StreamWindowThreshold}"); 123if (NetEventSource.Log.IsEnabled()) stream.Trace($"[FlowControl] StreamWindowSize reached the configured maximum of {MaxStreamWindowSize}."); 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");
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (13)
152if (closeTask.IsFaulted && NetEventSource.Log.IsEnabled()) 185if (NetEventSource.Log.IsEnabled()) Trace($"_availableRequestStreamsCount = {_availableRequestStreamsCount}"); 203if (NetEventSource.Log.IsEnabled()) Trace($"_availableRequestStreamsCount = {_availableRequestStreamsCount}"); 219if (NetEventSource.Log.IsEnabled()) Trace($"_availableRequestStreamsCount = {_availableRequestStreamsCount} + bidirectionalStreamsCountIncrement = {args.BidirectionalIncrement}"); 293if (HttpTelemetry.Log.IsEnabled()) 320if (NetEventSource.Log.IsEnabled()) Trace($"Sending request: {request}"); 357if (NetEventSource.Log.IsEnabled() && !ReferenceEquals(firstException, abortException)) 396if (NetEventSource.Log.IsEnabled()) 415if (NetEventSource.Log.IsEnabled()) 654if (NetEventSource.Log.IsEnabled()) 750if (NetEventSource.Log.IsEnabled()) 768if (NetEventSource.Log.IsEnabled()) 853if (NetEventSource.Log.IsEnabled()) Trace($"Applying setting {(Http3SettingType)settingId}={settingValue}");
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (17)
256if (NetEventSource.Log.IsEnabled()) Trace($"Received response: {_response}"); 384if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.ResponseHeadersStart(); 395if (NetEventSource.Log.IsEnabled()) 409if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.ResponseHeadersStop((int)_response.StatusCode); 445if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestContentStart(); 480if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestContentStop(bytesWritten); 584if (NetEventSource.Log.IsEnabled()) 612if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestHeadersStart(_connection.Id); 717if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestHeadersStop(); 878if (NetEventSource.Log.IsEnabled()) 934if (NetEventSource.Log.IsEnabled()) Trace($"Server closed response stream before entire header payload could be read. {headersLength:N0} bytes remaining."); 983if (NetEventSource.Log.IsEnabled()) Trace($"Response contains invalid static header index '{index}'."); 999if (NetEventSource.Log.IsEnabled()) Trace($"Received unknown pseudo-header '{descriptor.Name}'."); 1005if (NetEventSource.Log.IsEnabled()) Trace("Received extra status header."); 1036if (NetEventSource.Log.IsEnabled()) Trace(message); 1073if (NetEventSource.Log.IsEnabled()) Trace($"Expecting 100 Continue but received final status {statusCode}."); 1096if (NetEventSource.Log.IsEnabled()) Trace($"Received headers without :status.");
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (35)
89if (NetEventSource.Log.IsEnabled()) TraceConnection(_stream); 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}"); 554if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestHeadersStart(Id); 558if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestHeadersStop(); 568if (NetEventSource.Log.IsEnabled()) Trace($"Request content is not null, start processing it. hasExpectContinueHeader = {hasExpectContinueHeader}"); 628if (NetEventSource.Log.IsEnabled() && !async) 638if (NetEventSource.Log.IsEnabled()) Trace($"Received {bytesRead} bytes."); 670if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.ResponseHeadersStart(); 698if (NetEventSource.Log.IsEnabled()) Trace($"Current {response.StatusCode} response is an interim response or not expected, need to read for a final response."); 719if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.ResponseHeadersStop((int)response.StatusCode); 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."); 971if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestContentStart(); 989if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestContentStop(stream.BytesWritten); 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."); 1787return NetEventSource.Log.IsEnabled() 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."); 2050if (NetEventSource.Log.IsEnabled()) 2116if (NetEventSource.Log.IsEnabled())
System\Net\Http\SocketsHttpHandler\HttpConnectionBase.cs (6)
83if (HttpTelemetry.Log.IsEnabled()) 101if (HttpTelemetry.Log.IsEnabled()) 211if (NetEventSource.Log.IsEnabled()) connection.Trace($"Exception from asynchronous processing: {e}"); 228if (NetEventSource.Log.IsEnabled()) Trace($"Scavenging connection. Idle {TimeSpan.FromMilliseconds(idleTicks)} > {pooledConnectionIdleTimeout}."); 239if (NetEventSource.Log.IsEnabled()) Trace($"Scavenging connection. Lifetime {TimeSpan.FromMilliseconds(lifetimeTicks)} > {pooledConnectionLifetime}."); 246if (NetEventSource.Log.IsEnabled()) Trace($"Scavenging connection. Keep-Alive timeout exceeded, unexpected data or EOF received.");
System\Net\Http\SocketsHttpHandler\HttpConnectionPoolManager.cs (2)
193if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, $"Exception when subscribing to NetworkChange.NetworkAddressChanged: {e}"); 407if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, $"Exception from {_proxy.GetType().Name}.GetProxy({request.RequestUri}): {ex}");
System\Net\Http\SocketsHttpHandler\HttpContentReadStream.cs (2)
80if (NetEventSource.Log.IsEnabled()) 89if (NetEventSource.Log.IsEnabled())
System\Net\Http\SocketsHttpHandler\PreAuthCredentialCache.cs (3)
23if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Adding key:[{key}], cred:[{cred.Domain}],[{cred.UserName}]"); 40if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Removing key:[{key}]"); 56if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Returning {(mostSpecificMatch == null ? "null" : "(" + mostSpecificMatch.UserName + ":" + mostSpecificMatch.Domain + ")")}");
System\Net\Http\SocketsHttpHandler\RawConnectionStream.cs (1)
18if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this);
System\Net\Http\SocketsHttpHandler\RedirectHandler.cs (5)
43if (NetEventSource.Log.IsEnabled()) 56if (HttpTelemetry.Log.IsEnabled()) 60if (NetEventSource.Log.IsEnabled()) 69if (NetEventSource.Log.IsEnabled()) 134if (NetEventSource.Log.IsEnabled())
System\Net\Http\StreamContent.cs (1)
45if (NetEventSource.Log.IsEnabled()) NetEventSource.Associate(this, content);
System\Net\Http\StreamToStreamCopy.cs (1)
105if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(null, e);
System.Net.HttpListener (54)
src\libraries\Common\src\System\Net\LazyAsyncResult.cs (5)
64if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this); 362if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Invoking callback"); 366if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "*** OFFLOADED the user callback ****"); 384if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "No callback to invoke"); 447if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Waiting for completion event {waitHandle}");
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.Associate.cs (1)
35Debug.Assert(IsEnabled());
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
80Debug.Assert(IsEnabled()); 105Debug.Assert(IsEnabled());
System\Net\HttpListener.cs (6)
156if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"mapped uriPrefix: {uriPrefix} to registeredPrefix: {registeredPrefix}"); 166if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, exception); 222if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"uriPrefix: {uriPrefix}"); 240if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, exception); 302if (NetEventSource.Log.IsEnabled()) NetEventSource.Info("HttpListenerRequest::Close()"); 307if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, $"Close {exception}");
System\Net\HttpListenerException.cs (4)
16if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"{NativeErrorCode}:{Message}"); 21if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"{NativeErrorCode}:{Message}"); 26if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"{NativeErrorCode}:{Message}"); 34if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"{NativeErrorCode}:{Message}");
System\Net\HttpListenerRequest.cs (5)
30if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "uri:" + uri + " setCookieHeader:" + setCookieHeader); 41if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "CookieParser returned cookie: " + cookie.ToString()); 186if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "_keepAlive=" + _keepAlive); 239if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"_clientCertificate:{ClientCertificate}"); 246if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this);
System\Net\HttpListenerRequestUriBuilder.cs (9)
90if (NetEventSource.Log.IsEnabled()) 115if (NetEventSource.Log.IsEnabled()) 163if (NetEventSource.Log.IsEnabled()) 252if (NetEventSource.Log.IsEnabled()) 267if (NetEventSource.Log.IsEnabled()) 273if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, SR.Format(SR.net_log_listener_cant_convert_to_utf8, unicodeString, e.Message)); 284if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, SR.Format(SR.net_log_listener_cant_convert_percent_value, escapedCharacter)); 323if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, SR.Format(SR.net_log_listener_cant_convert_bytes, GetOctetsAsString(_rawOctets), e.Message)); 328if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, SR.Format(SR.net_log_listener_cant_convert_to_utf8, decodedString, e.Message));
System\Net\HttpListenerResponse.cs (8)
175if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"name={name}, value={value}"); 181if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"name={name}, value={value}"); 189if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"cookie: {cookie}"); 195if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Entering Set-Cookie: {Headers[HttpResponseHeader.SetCookie]}, Set-Cookie2: {Headers[HttpKnownHeaderNames.SetCookie2]}"); 209if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Now looking at index:{index} cookie: {cookie}"); 239if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Exiting Set-Cookie: {Headers[HttpResponseHeader.SetCookie]} Set-Cookie2: {Headers[HttpKnownHeaderNames.SetCookie2]}"); 244if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"url={url}"); 257if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"cookie: {cookie}");
System\Net\HttpRequestStream.cs (3)
20if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "buffer.Length:" + buffer.Length + " count:" + count + " offset:" + offset); 34if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "buffer.Length:" + buffer.Length + " count:" + count + " offset:" + offset); 67if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "_closed:" + _closed);
System\Net\HttpResponseStream.cs (4)
47if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "buffer.Length:" + buffer.Length + " count:" + count + " offset:" + offset); 61if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "buffer.Length:" + buffer.Length + " count:" + count + " offset:" + offset); 68if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"asyncResult:{asyncResult}"); 81if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "_closed:" + _closed);
System\Net\Managed\HttpListener.Managed.cs (4)
51if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, $"Start {exception}"); 85if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, $"Stop {exception}"); 115if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, $"Abort {exception}"); 141if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, $"Dispose {exception}");
System\Net\ServiceNameStore.cs (3)
148if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, SR.Format(SR.net_log_listener_spn_add, spn, uriPrefix)); 156else if (NetEventSource.Log.IsEnabled()) 178if (NetEventSource.Log.IsEnabled())
System.Net.Mail (36)
src\libraries\Common\src\System\Net\ContextAwareResult.cs (8)
259if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this); 280if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "starting identity capture"); 288if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "starting capture"); 305if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"_context:{_context}"); 310if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Skipping capture"); 323if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Completing synchronously"); 334if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"_context(set):{_context != null} userToken:{userToken}"); 366if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Context set, calling callback.");
src\libraries\Common\src\System\Net\DebugSafeHandle.cs (1)
35if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, _trace);
src\libraries\Common\src\System\Net\DebugSafeHandleZeroOrMinusOneIsInvalid.cs (2)
20if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Creating SafeHandle"); 25if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, _trace);
src\libraries\Common\src\System\Net\LazyAsyncResult.cs (5)
64if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this); 362if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Invoking callback"); 366if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "*** OFFLOADED the user callback ****"); 384if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "No callback to invoke"); 447if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Waiting for completion event {waitHandle}");
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.Associate.cs (1)
35Debug.Assert(IsEnabled());
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
80Debug.Assert(IsEnabled()); 105Debug.Assert(IsEnabled());
System\Net\Mail\MailMessage.cs (2)
39if (NetEventSource.Log.IsEnabled()) NetEventSource.Associate(this, _message); 48if (NetEventSource.Log.IsEnabled()) NetEventSource.Associate(this, _message);
System\Net\Mail\MailPriority.cs (2)
192if (NetEventSource.Log.IsEnabled()) NetEventSource.Associate(this, _headers); 218if (NetEventSource.Log.IsEnabled()) NetEventSource.Associate(this, _envelopeHeaders);
System\Net\Mail\SmtpClient.cs (8)
101if (NetEventSource.Log.IsEnabled()) NetEventSource.Associate(this, _transport); 370if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"{nameof(pickupDirectory)}={pickupDirectory}"); 412if (NetEventSource.Log.IsEnabled()) 511if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, e); 650if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Calling BeginConnect. Transport: {_transport}"); 663if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, e); 847if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, exception); 876if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Complete");
System\Net\Mail\SmtpConnection.cs (2)
439if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Connect returned"); 458if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, $"Connect returned {thisPtr}");
System\Net\Mail\SmtpTransport.cs (3)
106if (NetEventSource.Log.IsEnabled()) NetEventSource.Associate(this, _connection); 125if (NetEventSource.Log.IsEnabled()) NetEventSource.Associate(this, _connection); 139if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Sync completion");
System.Net.NameResolution (25)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
80Debug.Assert(IsEnabled()); 105Debug.Assert(IsEnabled());
System\Net\Dns.cs (20)
36if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, name); 48if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(address, $"Invalid address '{address}'"); 54if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(address, $"{ipHostEntry} with {ipHostEntry.AddressList.Length} entries"); 79if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(address, $"Invalid address '{address}'"); 90if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(hostNameOrAddress, $"{ipHostEntry} with {ipHostEntry.AddressList.Length} entries"); 121if (NetEventSource.Log.IsEnabled()) 160if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(address, $"Invalid address '{address}'"); 168if (NetEventSource.Log.IsEnabled()) NetEventSource.Info((IPAddress)s, $"{ipHostEntry} with {ipHostEntry.AddressList.Length} entries"); 209if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(address, $"Invalid address '{address}'"); 220if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(hostNameOrAddress, addresses); 300if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(address, ipHostEntry); 313if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(address, ipHostEntry); 333if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(hostName, ex); 342if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(hostName, ipHostEntry); 375if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(null, ex); 380if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, ipHostEntry); 439if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(hostName, $"{hostName} DNS lookup failed with {errorCode}"); 489if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(address, $"{address} DNS lookup failed with {errorCode}"); 517if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(address, $"forward lookup for '{name}' failed with {errorCode}"); 576if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(hostName, $"Invalid address '{ipAddress}'");
System\Net\NameResolutionTelemetry.cs (3)
62public static bool AnyDiagnosticsEnabled() => !OperatingSystem.IsWasi() && (Log.IsEnabled() || NameResolutionMetrics.IsEnabled() || NameResolutionActivity.IsTracingEnabled()); 72if (IsEnabled()) 102if (IsEnabled())
System.Net.NetworkInformation (2)
System\Net\NetworkInformation\NetEventSource.NetworkInformation.cs (1)
24Debug.Assert(IsEnabled());
System\Net\NetworkInformation\NetworkAddressChange.Unix.cs (1)
214if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(ex);
System.Net.Primitives (18)
src\libraries\Common\src\System\Net\CredentialCacheKey.cs (2)
41if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Match({UriPrefix} & {uri})"); 91if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Equals({this},{other}) returns {equals}");
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
80Debug.Assert(IsEnabled()); 105Debug.Assert(IsEnabled());
System\Net\CookieContainer.cs (2)
680if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"uri:{uri} headerName:{headerName} setCookieHeader:{setCookieHeader} isThrow:{isThrow}"); 706if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"CookieParser returned cookie:{cookie}");
System\Net\CredentialCache.cs (11)
42if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Adding key:[{key}], cred:[{cred.Domain}],[{cred.UserName}]"); 68if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Adding key:[{key}], cred:[{credential.Domain}],[{credential.UserName}]"); 85if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Short-circuiting because the dictionary is null."); 93if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Removing key:[{key}]"); 114if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Short-circuiting because the dictionary is null."); 122if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Removing key:[{key}]"); 134if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "CredentialCache::GetCredential short-circuiting because the dictionary is null."); 140if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Returning {(mostSpecificMatch == null ? "null" : "(" + mostSpecificMatch.UserName + ":" + mostSpecificMatch.Domain + ")")}"); 153if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "CredentialCache::GetCredential short-circuiting because the dictionary is null."); 162if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Returning {((match == null) ? "null" : "(" + match.UserName + ":" + match.Domain + ")")}"); 377if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Equals({this},{other}) returns {equals}");
System\Net\SocketException.cs (1)
59if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"{NativeErrorCode}:{Message}");
System.Net.Quic (59)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
80Debug.Assert(IsEnabled()); 105Debug.Assert(IsEnabled());
src\libraries\Common\src\System\Net\SafeHandleCache.cs (5)
55if (NetEventSource.Log.IsEnabled()) 85if (NetEventSource.Log.IsEnabled()) 121if (NetEventSource.Log.IsEnabled()) 135if (NetEventSource.Log.IsEnabled()) 148if (NetEventSource.Log.IsEnabled())
src\libraries\Common\src\System\Net\Security\SslKeyLogger.cs (1)
34if (NetEventSource.Log.IsEnabled())
System\Net\Quic\Internal\MsQuicApi.cs (9)
85if (NetEventSource.Log.IsEnabled()) 103if (NetEventSource.Log.IsEnabled()) 121if (NetEventSource.Log.IsEnabled()) 135if (NetEventSource.Log.IsEnabled()) 153if (NetEventSource.Log.IsEnabled()) 166if (NetEventSource.Log.IsEnabled()) 179if (NetEventSource.Log.IsEnabled()) 186if (NetEventSource.Log.IsEnabled()) 203if (NetEventSource.Log.IsEnabled())
System\Net\Quic\Internal\MsQuicConfiguration.cs (2)
57if (NetEventSource.Log.IsEnabled()) 75if (NetEventSource.Log.IsEnabled())
System\Net\Quic\Internal\MsQuicSafeHandle.cs (4)
38if (NetEventSource.Log.IsEnabled()) 65if (NetEventSource.Log.IsEnabled()) 121if (NetEventSource.Log.IsEnabled()) 138if (NetEventSource.Log.IsEnabled())
System\Net\Quic\Internal\MsQuicTlsSecret.cs (1)
35if (NetEventSource.Log.IsEnabled())
System\Net\Quic\QuicConnection.cs (14)
259if (NetEventSource.Log.IsEnabled()) 268if (NetEventSource.Log.IsEnabled()) 336if (NetEventSource.Log.IsEnabled()) 500if (NetEventSource.Log.IsEnabled()) 508if (NetEventSource.Log.IsEnabled()) 532if (NetEventSource.Log.IsEnabled()) 611if (NetEventSource.Log.IsEnabled()) 650if (NetEventSource.Log.IsEnabled()) 711if (NetEventSource.Log.IsEnabled()) 719if (NetEventSource.Log.IsEnabled()) 794if (NetEventSource.Log.IsEnabled()) 804if (NetEventSource.Log.IsEnabled()) 812if (NetEventSource.Log.IsEnabled()) 832if (NetEventSource.Log.IsEnabled())
System\Net\Quic\QuicConnection.SslConnectionOptions.cs (1)
166if (NetEventSource.Log.IsEnabled())
System\Net\Quic\QuicListener.cs (10)
63if (NetEventSource.Log.IsEnabled()) 258if (NetEventSource.Log.IsEnabled()) 271if (NetEventSource.Log.IsEnabled()) 307if (NetEventSource.Log.IsEnabled()) 328if (NetEventSource.Log.IsEnabled()) 339if (NetEventSource.Log.IsEnabled()) 376if (NetEventSource.Log.IsEnabled()) 386if (NetEventSource.Log.IsEnabled()) 394if (NetEventSource.Log.IsEnabled()) 413if (NetEventSource.Log.IsEnabled())
System\Net\Quic\QuicStream.cs (10)
282if (NetEventSource.Log.IsEnabled()) 343if (NetEventSource.Log.IsEnabled()) 372if (NetEventSource.Log.IsEnabled()) 475if (NetEventSource.Log.IsEnabled()) 521if (NetEventSource.Log.IsEnabled()) 680if (NetEventSource.Log.IsEnabled()) 690if (NetEventSource.Log.IsEnabled()) 698if (NetEventSource.Log.IsEnabled()) 720if (NetEventSource.Log.IsEnabled()) 760if (NetEventSource.Log.IsEnabled())
System.Net.Requests (65)
src\libraries\Common\src\System\Net\ContextAwareResult.cs (8)
259if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this); 280if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "starting identity capture"); 288if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "starting capture"); 305if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"_context:{_context}"); 310if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Skipping capture"); 323if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Completing synchronously"); 334if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"_context(set):{_context != null} userToken:{userToken}"); 366if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Context set, calling callback.");
src\libraries\Common\src\System\Net\LazyAsyncResult.cs (5)
64if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this); 362if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Invoking callback"); 366if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "*** OFFLOADED the user callback ****"); 384if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "No callback to invoke"); 447if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Waiting for completion event {waitHandle}");
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.Associate.cs (1)
35Debug.Assert(IsEnabled());
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
80Debug.Assert(IsEnabled()); 105Debug.Assert(IsEnabled());
System\Net\CommandStream.cs (5)
47if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "closing control Stream"); 75if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this); 199if (NetEventSource.Log.IsEnabled()) 208if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Sending command {sendCommand}"); 661if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Received response: {responseString.Substring(0, completeLength - 2)}");
System\Net\FtpControlStream.cs (5)
240if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Command:{entry?.Command} Description:{response?.StatusDescription}"); 483if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this); 718if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "starting Connect()"); 732if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "starting Accept()"); 1179if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"CheckValid({response.StatusBuffer})");
System\Net\FtpDataStream.cs (2)
30if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this); 65if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"state = {closeState}");
System\Net\FtpWebRequest.cs (25)
487if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, uri); 524if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Method: {_methodInfo.Method}"); 586if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, exception); 593if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, exception); 607if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Method: {_methodInfo.Method}"); 670if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, exception); 702if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, exception); 714if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Method: {_methodInfo.Method}"); 755if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, exception); 766if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Method: {_methodInfo.Method}"); 794if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, exception); 834if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, exception); 884if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Request being submitted"); 1044if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this); 1049if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "aborting connection"); 1077if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Releasing connection: {_connection}"); 1093if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this); 1159if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"exp:{exception} completedRequest:{completedRequest}"); 1211if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"stream:{stream} conn:{connection} exp:{exception} completedRequest:{completedRequest}"); 1237if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Releasing connect:{connection}"); 1242if (NetEventSource.Log.IsEnabled()) NetEventSource.Associate(this, _connection); 1319if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"state:{stage}"); 1383if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Releasing connection: {connection}"); 1455if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, exception); 1677if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Returns {_ftpWebResponse} with stream {_ftpWebResponse._responseStream}");
System\Net\TimerThread.cs (12)
311if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"TimerThreadTimer#{StartTime}"); 359if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"TimerThreadTimer#{StartTime} Cancel (success)"); 365if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"TimerThreadTimer#{StartTime} Cancel (failure)"); 377if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "TimerQueue tried to Fire a Sentinel."); 390if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"TimerThreadTimer#{StartTime}::Fire() Not firing ({StartTime} <= {nowMilliseconds} < {Expiration})"); 399if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"TimerThreadTimer#{StartTime}::Fire() Firing ({StartTime} <= {nowMilliseconds} >= " + Expiration + ")"); 427if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, $"exception in callback: {exception}"); 553if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, $"Waiting for {waitDuration}ms"); 560if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, "Awoke, cause: Shutdown"); 565if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, $"Awoke, cause {(waitResult == WaitHandle.WaitTimeout ? "Timeout" : "Prod")}"); 591if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(null, exception); 607if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, "Stop");
System.Net.Security (116)
src\libraries\Common\src\System\Net\DebugSafeHandle.cs (1)
35if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, _trace);
src\libraries\Common\src\System\Net\DebugSafeHandleZeroOrMinusOneIsInvalid.cs (2)
20if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Creating SafeHandle"); 25if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, _trace);
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
80Debug.Assert(IsEnabled()); 105Debug.Assert(IsEnabled());
src\libraries\Common\src\System\Net\SafeHandleCache.cs (5)
55if (NetEventSource.Log.IsEnabled()) 85if (NetEventSource.Log.IsEnabled()) 121if (NetEventSource.Log.IsEnabled()) 135if (NetEventSource.Log.IsEnabled()) 148if (NetEventSource.Log.IsEnabled())
src\libraries\Common\src\System\Net\Security\SslKeyLogger.cs (1)
34if (NetEventSource.Log.IsEnabled())
src\libraries\Common\src\System\Net\Security\SSPIHandleCache.cs (1)
34if (NetEventSource.Log.IsEnabled() && !ExceptionCheck.IsFatal(e))
System\Net\CertificateValidationPal.cs (2)
60if (NetEventSource.Log.IsEnabled()) 80if (NetEventSource.Log.IsEnabled())
System\Net\CertificateValidationPal.Unix.cs (1)
94if (NetEventSource.Log.IsEnabled()) NetEventSource.Log.RemoteCertificate(result);
System\Net\NegotiateAuthenticationPal.ManagedNtlm.cs (2)
228if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"package={clientOptions.Package}, spn={_spn}, requiredProtectionLevel={_protectionLevel}"); 240if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, SR.net_ntlm_not_possible_default_cred);
System\Net\NegotiateAuthenticationPal.Unix.cs (20)
52if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(null, gex); 75if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(null, gex); 146if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, ex); 194if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Peer SPN-> '{_spn}'"); 200if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "using DefaultCredentials"); 205if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, SR.net_ntlm_not_possible_default_cred); 210if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, SR.net_nego_not_supported_empty_target_with_defaultcreds); 242if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Peer SPN-> '{_spn}'"); 248if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "using DefaultCredentials"); 285if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SSPIWrapper.InitializeSecurityContext() returns statusCode:{statusCode}"); 300if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SSPIWrapper.AcceptSecurityContext() returns statusCode:{statusCode}"); 326if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"need continue _securityContext:{_securityContext}"); 511if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, ex); 565if (NetEventSource.Log.IsEnabled()) 632if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, gex); 642if (NetEventSource.Log.IsEnabled()) 666if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, ex); 704if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, gex); 719if (NetEventSource.Log.IsEnabled()) 738if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, ex);
System\Net\Security\NegotiateAuthentication.cs (8)
410if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, SR.net_log_listener_no_spn_kerberos); 416if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, SR.net_log_listener_no_spn_disabled); 422if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, SR.net_log_listener_no_spn_cbt); 428if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, SR.net_log_listener_no_spns); 438if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, SR.net_log_listener_no_spn_whensupported); 443if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, SR.net_log_listener_spn_failed_always); 448if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, SR.net_log_listener_spn, clientSpn); 451if (NetEventSource.Log.IsEnabled())
System\Net\Security\NetSecurityTelemetry.cs (1)
47public static bool AnyTelemetryEnabled() => Log.IsEnabled() || s_activitySource.HasListeners();
System\Net\Security\SslSessionsCache.cs (8)
110if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, $"Not found, Current Cache Count = {s_cachedCreds.Count}"); 120if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, $"Not found or invalid, Current Cache Count = {s_cachedCreds.Count}"); 124if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, $"Found a cached Handle = {credentials}"); 153if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, $"Refused to cache an Invalid Handle {creds}, Current Cache Count = {s_cachedCreds.Count}"); 178if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, $"Caching New Handle = {creds}, Current Cache Count = {s_cachedCreds.Count}"); 185if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, $"CacheCredential() (locked retry) Found already cached Handle = {credentials}"); 191if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, $"CacheCredential() Ignoring incoming handle = {creds} since found already cached Handle = {credentials}"); 234if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, $"Scavenged cache, New Cache Count = {s_cachedCreds.Count}");
System\Net\Security\SslStream.cs (1)
223if (NetEventSource.Log.IsEnabled()) NetEventSource.Log.SslStreamCtor(this, innerStream);
System\Net\Security\SslStream.IO.cs (13)
77if (NetSecurityTelemetry.Log.IsEnabled()) 128if (NetSecurityTelemetry.Log.IsEnabled()) 308if (NetEventSource.Log.IsEnabled()) 353if (NetEventSource.Log.IsEnabled()) 361if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, token.Status); 396if (NetEventSource.Log.IsEnabled()) 426if (NetEventSource.Log.IsEnabled() && _lastFrame.AlertDescription != TlsAlertDescription.CloseNotify) NetEventSource.Error(this, $"Received TLS alert {_lastFrame.AlertDescription}"); 435TlsFrameHelper.ProcessingOptions options = NetEventSource.Log.IsEnabled() ? 448if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, $"Failed to parse TLS hello."); 468if (NetEventSource.Log.IsEnabled()) 557if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, $"Ignoring unsolicited renegotiated certificate."); 882if (NetEventSource.Log.IsEnabled()) 1026if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, "invalid TLS frame size");
System\Net\Security\SslStream.Protocol.cs (37)
189if (NetEventSource.Log.IsEnabled()) 201if (NetEventSource.Log.IsEnabled()) 239if (NetEventSource.Log.IsEnabled()) 273if (NetEventSource.Log.IsEnabled()) 325if (NetEventSource.Log.IsEnabled()) 334if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Selected cert = {_selectedClientCertificate}"); 339if (NetEventSource.Log.IsEnabled()) 358if (NetEventSource.Log.IsEnabled()) 365if (NetEventSource.Log.IsEnabled()) 370if (NetEventSource.Log.IsEnabled()) 385if (NetEventSource.Log.IsEnabled()) 395if (NetEventSource.Log.IsEnabled()) 425if (NetEventSource.Log.IsEnabled()) 447if (NetEventSource.Log.IsEnabled()) 451if (NetEventSource.Log.IsEnabled()) 481if (NetEventSource.Log.IsEnabled()) 490if (NetEventSource.Log.IsEnabled()) 528if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Selected cert = {selectedCert}"); 618if (NetEventSource.Log.IsEnabled()) 637if (NetEventSource.Log.IsEnabled()) 688if (NetEventSource.Log.IsEnabled()) 693if (NetEventSource.Log.IsEnabled()) 704if (NetEventSource.Log.IsEnabled()) 709if (NetEventSource.Log.IsEnabled()) 723if (NetEventSource.Log.IsEnabled()) 820if (NetEventSource.Log.IsEnabled()) 918if (NetEventSource.Log.IsEnabled()) 992if (NetEventSource.Log.IsEnabled()) 1003if (NetEventSource.Log.IsEnabled()) NetEventSource.DumpBuffer(this, buffer.Span); 1013if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, $"ERROR {token.Status}"); 1022if (NetEventSource.Log.IsEnabled() && status.ErrorCode == SecurityStatusPalErrorCode.OK) 1063if (NetEventSource.Log.IsEnabled() && RemoteCertRequired) NetEventSource.Error(this, $"Remote certificate required, but no remote certificate received"); 1123if (NetEventSource.Log.IsEnabled()) 1179if (NetEventSource.Log.IsEnabled()) 1187if (NetEventSource.Log.IsEnabled()) 1206if (NetEventSource.Log.IsEnabled()) 1276if (!NetEventSource.Log.IsEnabled())
System\Net\Security\SslStreamCertificateContext.cs (2)
80if (!chainStatus && NetEventSource.Log.IsEnabled()) 93if (!chainStatus && NetEventSource.Log.IsEnabled())
System\Net\Security\SslStreamCertificateContext.Linux.cs (9)
121if (NetEventSource.Log.IsEnabled()) 132if (NetEventSource.Log.IsEnabled()) 150if (NetEventSource.Log.IsEnabled()) 159if (NetEventSource.Log.IsEnabled()) 193if (NetEventSource.Log.IsEnabled()) 234if (NetEventSource.Log.IsEnabled()) 320if (NetEventSource.Log.IsEnabled()) 343if (NetEventSource.Log.IsEnabled()) 354if (NetEventSource.Log.IsEnabled())
System.Net.Sockets (127)
src\libraries\Common\src\System\Net\DebugSafeHandleMinusOneIsInvalid.cs (2)
20if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Creating SafeHandle"); 25if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, _trace);
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
80Debug.Assert(IsEnabled()); 105Debug.Assert(IsEnabled());
System\Net\Sockets\SafeSocketHandle.cs (3)
80if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"shouldClose={shouldClose}"); 101if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"abortive={abortive}, shouldClose ={shouldClose}"); 141if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"handle:{handle}");
System\Net\Sockets\SafeSocketHandle.Unix.cs (3)
196if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"handle:{handle} Following 'non-abortive' branch."); 227if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"handle:{handle}, setsockopt():{errorCode}"); 263if (NetEventSource.Log.IsEnabled())
System\Net\Sockets\SafeSocketHandle.Unix.OptionTracking.cs (4)
45if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"GetLingerOption returned errorCode:{errorCode}"); 74if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"GetSockOpt({level},{name}) returned errorCode:{errorCode}"); 91if (NetEventSource.Log.IsEnabled() && errorCode != SocketError.Success) NetEventSource.Info(this, $"SetLingerOption returned errorCode:{errorCode}"); 104if (NetEventSource.Log.IsEnabled() && errorCode != SocketError.Success) NetEventSource.Info(this, $"GetSockOpt({level},{name}) returned errorCode:{errorCode}");
System\Net\Sockets\Socket.cs (97)
84if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, addressFamily); 281if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"GetAvailable returns errorCode:{errorCode}"); 416if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"value:{value} willBlock:{_willBlock} willBlockInternal:{_willBlockInternal}"); 453if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"_isConnected:{_isConnected}"); 791if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, localEP); 795if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"localEP:{localEP}"); 851if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"DST:{remoteEP}"); 983if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"timeout = {_closeTimeout}"); 993if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"timeout = {_closeTimeout}"); 1012if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, backlog); 1049if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SRC:{LocalEndPoint}"); 1053if (SocketsTelemetry.Log.IsEnabled()) SocketsTelemetry.Log.AcceptStart(socketAddress); 1091if (NetEventSource.Log.IsEnabled()) NetEventSource.Accepted(socket, socket.RemoteEndPoint!, socket.LocalEndPoint); 1150if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SRC:{LocalEndPoint} DST:{RemoteEndPoint}"); 1161if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, new SocketException((int)errorCode)); 1165else if (SocketsTelemetry.Log.IsEnabled()) 1197if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SRC:{LocalEndPoint} DST:{RemoteEndPoint} size:{size}"); 1209if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, new SocketException((int)errorCode)); 1212else if (SocketsTelemetry.Log.IsEnabled()) 1218if (NetEventSource.Log.IsEnabled()) 1254if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, new SocketException((int)errorCode)); 1257else if (SocketsTelemetry.Log.IsEnabled()) 1335if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"::SendFile() SRC:{LocalEndPoint} DST:{RemoteEndPoint} fileName:{fileName}"); 1351if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SRC:{LocalEndPoint} size:{size} remoteEP:{remoteEP}"); 1365else if (SocketsTelemetry.Log.IsEnabled()) 1374if (NetEventSource.Log.IsEnabled()) NetEventSource.DumpBuffer(this, buffer, offset, size); 1447else if (SocketsTelemetry.Log.IsEnabled()) 1488else if (SocketsTelemetry.Log.IsEnabled()) 1540if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SRC:{LocalEndPoint} DST:{RemoteEndPoint} size:{size}"); 1551if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, new SocketException((int)errorCode)); 1554else if (SocketsTelemetry.Log.IsEnabled()) 1560if (NetEventSource.Log.IsEnabled()) NetEventSource.DumpBuffer(this, buffer, offset, bytesTransferred); 1592if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, new SocketException((int)errorCode)); 1595else if (SocketsTelemetry.Log.IsEnabled()) 1638if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SRC:{LocalEndPoint} DST:{RemoteEndPoint}"); 1649if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, new SocketException((int)errorCode)); 1652else if (SocketsTelemetry.Log.IsEnabled()) 1692else if (SocketsTelemetry.Log.IsEnabled()) 1711if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, errorCode); 1779else if (SocketsTelemetry.Log.IsEnabled()) 1798if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, errorCode); 1813if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SRC{LocalEndPoint} size:{size} remoteEP:{remoteEP}"); 1835if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, socketException); 1842else if (SocketsTelemetry.Log.IsEnabled()) 1880if (NetEventSource.Log.IsEnabled()) NetEventSource.DumpBuffer(this, buffer, offset, size); 1959if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, socketException); 1966else if (SocketsTelemetry.Log.IsEnabled()) 2035if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, socketException); 2039else if (SocketsTelemetry.Log.IsEnabled()) 2061if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"WindowsIoctl returns errorCode:{errorCode}"); 2081if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"optionLevel:{optionLevel} optionName:{optionName} optionValue:{optionValue}"); 2090if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"optionLevel:{optionLevel} optionName:{optionName} optionValue:{optionValue}"); 2095if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SetSockOpt returns errorCode:{errorCode}"); 2116if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"optionLevel:{optionLevel} optionName:{optionName} optionValue:{optionValue}"); 2173if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SetSockOpt optionLevel:{optionLevel} optionName:{optionName} returns errorCode:{errorCode}"); 2208if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"GetSockOpt returns errorCode:{errorCode}"); 2233if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"GetSockOpt returns errorCode:{errorCode}"); 2257if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"GetSockOpt returns errorCode:{errorCode}"); 2294if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"GetRawSockOpt optionLevel:{optionLevel} optionName:{optionName} returned errorCode:{errorCode}"); 2349if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Poll returns socketCount:{(int)errorCode}"); 2474if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"UnsafeNclNativeMethods.OSSOCK.DisConnectEx returns:{errorCode}"); 2565if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"::DoBeginSendFile() SRC:{LocalEndPoint} DST:{RemoteEndPoint} fileName:{fileName}"); 2665if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"size:{size}"); 2680if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"size:{size} returning AsyncResult:{asyncResult}"); 2810if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"how:{how}"); 2815if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Shutdown returns errorCode:{errorCode}"); 2855if (SocketsTelemetry.Log.IsEnabled()) SocketsTelemetry.Log.AcceptStart(_rightEndPoint!); 2906if (NetEventSource.Log.IsEnabled()) NetEventSource.ConnectedAsyncDns(this); 3367if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, socketException); 3376if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"connection to:{endPointSnapshot}"); 3382if (NetEventSource.Log.IsEnabled()) NetEventSource.Connected(this, LocalEndPoint, RemoteEndPoint); 3387if (NetEventSource.Log.IsEnabled()) 3412if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Calling _handle.Dispose()"); 3425if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Calling _handle.CloseAsIs()"); 3437if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"handle:{handle} ioctlsocket(FIONBIO):{errorCode}"); 3443if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Calling _handle.CloseAsIs()"); 3450if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"handle:{handle} shutdown():{errorCode}"); 3458if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"handle:{handle} setsockopt():{errorCode}"); 3468if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"handle:{handle} recv():{errorCode}"); 3480if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"handle:{handle} ioctlsocket(FIONREAD):{errorCode}"); 3505if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Calling _handle.CloseAsIs() for non-owned handle"); 3528if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"timeout = {_closeTimeout}"); 3601if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "skipping the call"); 3608if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SetSockOpt returns errorCode:{errorCode}"); 3642if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SetMulticastOption returns errorCode:{errorCode}"); 3656if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SetIPv6MulticastOption returns errorCode:{errorCode}"); 3671if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SetLingerOption returns errorCode:{errorCode}"); 3687if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"GetLingerOption returns errorCode:{errorCode}"); 3703if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"GetMulticastOption returns errorCode:{errorCode}"); 3720if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"GetIPv6MulticastOption returns errorCode:{errorCode}"); 3753if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SetBlocking returns errorCode:{errorCode}"); 3762if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"errorCode:{errorCode} willBlock:{_willBlock} willBlockInternal:{_willBlockInternal}"); 3845if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "now connected"); 3891if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "!Disposed"); 3908if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, socketException, memberName: callerName); 3924if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, $"errorCode:{errorCode}, disconnectOnFailure:{disconnectOnFailure}"); 3931if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Invalidating socket.");
System\Net\Sockets\SocketAsyncEventArgs.cs (6)
562(SocketsTelemetry.Log.IsEnabled() && (operation == SocketAsyncOperation.Connect || operation == SocketAsyncOperation.Accept))) 854if (SocketsTelemetry.Log.IsEnabled()) LogBytesTransferEvents(_connectSocket?.SocketType, SocketAsyncOperation.Connect, internalArgs.BytesTransferred); 898if (NetEventSource.Log.IsEnabled() && bytesTransferred > 0) 916if (NetEventSource.Log.IsEnabled()) 937if (NetEventSource.Log.IsEnabled()) 1018if (SocketsTelemetry.Log.IsEnabled()) LogBytesTransferEvents(_currentSocket?.SocketType, _completedOperation, bytesTransferred);
System\Net\Sockets\SocketAsyncEventArgs.Unix.cs (1)
333Debug.Assert(NetEventSource.Log.IsEnabled());
System\Net\Sockets\SocketPal.Unix.cs (3)
96if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, socket); 1153if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, socket); 2171if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, res);
System\Net\Sockets\TCPClient.cs (3)
33if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, family); 49if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, localEP); 61if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, hostname);
System\Net\Sockets\TCPListener.cs (2)
25if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, localEP); 36if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, localaddr);
System\Net\Sockets\UDPClient.cs (1)
222if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this);
System.Net.WebSockets (91)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.Associate.cs (1)
35Debug.Assert(IsEnabled());
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
80Debug.Assert(IsEnabled()); 105Debug.Assert(IsEnabled());
System\Net\WebSockets\AsyncMutex.cs (2)
70if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"Waiting to enter, queue length {-gate}"); 196if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"Unblocking next waiter on exit, remaining queue length {-_gate}", nameof(Exit));
System\Net\WebSockets\ManagedWebSocket.cs (58)
153if (NetEventSource.Log.IsEnabled()) 177if (NetEventSource.Log.IsEnabled()) 185else if (NetEventSource.Log.IsEnabled()) 226if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this); 238if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"{nameof(_disposed)}={_disposed}"); 252if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"State transition from {state} to {_state}"); 267if (NetEventSource.Log.IsEnabled()) NetEventSource.MutexEntered(mutex); 272if (NetEventSource.Log.IsEnabled()) NetEventSource.MutexExited(mutex); 278if (NetEventSource.Log.IsEnabled()) NetEventSource.MutexEntered(mutex); 283if (NetEventSource.Log.IsEnabled()) NetEventSource.MutexExited(mutex); 299if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this); 319if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this); 335if (NetEventSource.Log.IsEnabled()) NetEventSource.TraceException(this, exc); 365if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this); 377if (NetEventSource.Log.IsEnabled()) NetEventSource.TraceException(this, exc); 384if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this); 394if (NetEventSource.Log.IsEnabled()) NetEventSource.TraceException(this, exc); 401if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this); 411if (NetEventSource.Log.IsEnabled()) NetEventSource.TraceException(this, exc); 420if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this); 428if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this); 447if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this); 455if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this); 475if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"State transition from {state} to {_state}"); 486if (NetEventSource.Log.IsEnabled()) NetEventSource.SendFrameAsyncStarted(this, opcode.ToString(), payloadBuffer.Length); 507if (NetEventSource.Log.IsEnabled()) NetEventSource.MutexEntered(_sendMutex); 544if (NetEventSource.Log.IsEnabled()) NetEventSource.TraceException(this, exc); 558if (NetEventSource.Log.IsEnabled()) 581if (NetEventSource.Log.IsEnabled()) NetEventSource.TraceException(this, exc); 597if (NetEventSource.Log.IsEnabled()) 608if (NetEventSource.Log.IsEnabled()) NetEventSource.MutexEntered(_sendMutex); 621if (NetEventSource.Log.IsEnabled()) NetEventSource.TraceException(this, exc); 637if (NetEventSource.Log.IsEnabled()) 789if (NetEventSource.Log.IsEnabled()) NetEventSource.ReceiveAsyncPrivateStarted(this, payloadBuffer.Length); 797if (NetEventSource.Log.IsEnabled()) NetEventSource.MutexEntered(_receiveMutex); 813if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, "Reading the next frame header"); 858if (NetEventSource.Log.IsEnabled()) 947if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"bytesRead={numBytesRead}"); 993if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, "Data frame fully processed"); 1006if (NetEventSource.Log.IsEnabled()) NetEventSource.MutexExited(_receiveMutex); 1011if (NetEventSource.Log.IsEnabled()) NetEventSource.TraceException(this, exc); 1043if (NetEventSource.Log.IsEnabled()) NetEventSource.ReceiveAsyncPrivateCompleted(this); 1083if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"State transition from {state} to {_state}"); 1140if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this); 1175if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this); 1196if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, "Processing incoming Ping"); 1207if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, "Processing incoming Pong"); 1217if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, "Received Unsolicited Pong. Skipping."); 1277if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, errorMessage); 1422if (NetEventSource.Log.IsEnabled()) NetEventSource.CloseAsyncPrivateStarted(this); 1446if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, "Waiting for a close frame"); 1463if (NetEventSource.Log.IsEnabled()) NetEventSource.MutexEntered(_receiveMutex); 1475if (NetEventSource.Log.IsEnabled()) NetEventSource.MutexExited(_receiveMutex); 1504if (NetEventSource.Log.IsEnabled()) NetEventSource.TraceException(this, exc); 1509if (NetEventSource.Log.IsEnabled()) NetEventSource.CloseAsyncPrivateCompleted(this); 1563if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"State transition from {state} to {_state}"); 1603if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"bytesRead={numRead}"); 1750if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"_state={state}, _disposed={disposed}, _keepAlivePingState.Exception={keepAliveException}");
System\Net\WebSockets\ManagedWebSocket.KeepAlive.cs (16)
30if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this); 42if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"Cannot send keep-alive frame in {nameof(_state)}={_state}"); 55if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this); 66if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"KeepAlive already faulted, skipping... (exception: {_keepAlivePingState.Exception.Message})"); 76if (NetEventSource.Log.IsEnabled()) 107if (NetEventSource.Log.IsEnabled()) NetEventSource.TraceException(this, e); 122if (NetEventSource.Log.IsEnabled()) NetEventSource.KeepAlivePingSent(this, pingPayload); 167if (NetEventSource.Log.IsEnabled()) NetEventSource.TraceException(thisObj, e); 212if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"pongPayload={pongPayload}"); 216if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"Not waiting for Pong. Skipping."); 222if (NetEventSource.Log.IsEnabled()) NetEventSource.PongResponseReceived(this, pongPayload); 229if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"Expected payload {PingPayload}. Skipping."); 255if (NetEventSource.Log.IsEnabled()) NetEventSource.TraceErrorMsg(this, exc); 259if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"WebSocket already disposed, skipping..."); 265if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"WebSocket is already closed, skipping..."); 275if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"WebSocket is already aborted, skipping...");
System\Net\WebSockets\NetEventSource.WebSockets.cs (12)
56Debug.Assert(Log.IsEnabled()); 63Debug.Assert(Log.IsEnabled()); 70Debug.Assert(Log.IsEnabled()); 93Debug.Assert(Log.IsEnabled()); 112Debug.Assert(Log.IsEnabled()); 119Debug.Assert(Log.IsEnabled()); 138Debug.Assert(Log.IsEnabled()); 145Debug.Assert(Log.IsEnabled()); 164Debug.Assert(Log.IsEnabled()); 171Debug.Assert(Log.IsEnabled()); 190Debug.Assert(Log.IsEnabled()); 197Debug.Assert(Log.IsEnabled());
System.Private.CoreLib (148)
src\libraries\System.Private.CoreLib\src\System\Buffers\ConfigurableArrayPool.cs (5)
82if (log.IsEnabled()) 102if (log.IsEnabled()) 146if (log.IsEnabled()) 216if (log.IsEnabled()) 264if (log.IsEnabled())
src\libraries\System.Private.CoreLib\src\System\Buffers\SharedArrayPool.cs (8)
67if (log.IsEnabled()) 85if (log.IsEnabled()) 111if (log.IsEnabled()) 171if (log.IsEnabled() && array.Length != 0) 190if (log.IsEnabled()) 210if (!log.IsEnabled()) 266log.IsEnabled()) 480if (log.IsEnabled())
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\CounterGroup.cs (5)
87if (!_eventSource.IsEnabled()) 93Debug.Assert((s_counterGroupEnabledList == null && !_eventSource.IsEnabled()) 94|| (_eventSource.IsEnabled() && s_counterGroupEnabledList!.Contains(this)) 96|| (!_eventSource.IsEnabled() && !s_counterGroupEnabledList!.Contains(this))); 226if (_eventSource.IsEnabled())
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (22)
348if (!IsEnabled()) 840if (IsEnabled()) 854if (IsEnabled()) 871if (IsEnabled()) 892if (IsEnabled()) 906if (IsEnabled()) 923if (IsEnabled()) 944if (IsEnabled()) 962if (IsEnabled()) 985if (IsEnabled()) 1014if (IsEnabled()) 1035if (IsEnabled()) 1060if (IsEnabled()) 1082if (IsEnabled()) 1104if (IsEnabled()) 1125if (IsEnabled()) 1160if (IsEnabled()) 1372if (IsEnabled()) 1455/// method signature. Even if you use this for rare events, this call should be guarded by an <see cref="IsEnabled()"/> 1478/// method signature. Even if you use this for rare events, this call should be guarded by an <see cref="IsEnabled()"/> 1495/// particular method signature. Even if you use this for rare events, this call should be guarded by an <see cref="IsEnabled()"/> 1977if (IsEnabled())
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\FrameworkEventSource.cs (2)
43if (IsEnabled()) 78if (IsEnabled())
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\TraceLoggingEventSource.cs (8)
88if (!this.IsEnabled()) 110if (!this.IsEnabled()) 145if (!this.IsEnabled()) 186if (!this.IsEnabled()) 228if (!this.IsEnabled()) 279if (!this.IsEnabled()) 336if (!this.IsEnabled()) 515if (!this.IsEnabled())
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncTaskMethodBuilderT.cs (3)
231if (TplEventSource.Log.IsEnabled()) 356bool loggingOn = TplEventSource.Log.IsEnabled(); 489if (TplEventSource.Log.IsEnabled())
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncVoidMethodBuilder.cs (2)
78if (TplEventSource.Log.IsEnabled()) 118if (TplEventSource.Log.IsEnabled())
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\TaskAwaiter.cs (4)
180if (TplEventSource.Log.IsEnabled() || Task.s_asyncDebuggingEnabled) 199if (TplEventSource.Log.IsEnabled() || Task.s_asyncDebuggingEnabled) 227if (log.IsEnabled()) 257bool bEtwLogEnabled = innerEtwLog.IsEnabled();
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\YieldAwaitable.cs (2)
76if (TplEventSource.Log.IsEnabled()) 120if (TplEventSource.Log.IsEnabled())
src\libraries\System.Private.CoreLib\src\System\Threading\Lock.cs (1)
618if (areContentionEventsEnabled && NativeRuntimeEventSource.Log.IsEnabled())
src\libraries\System.Private.CoreLib\src\System\Threading\Overlapped.cs (1)
187if (NativeRuntimeEventSource.Log.IsEnabled())
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.cs (3)
142if (NativeRuntimeEventSource.Log.IsEnabled()) 218if (NativeRuntimeEventSource.Log.IsEnabled()) 288if (NativeRuntimeEventSource.Log.IsEnabled())
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.GateThread.cs (1)
115if (ThreadPool.EnableWorkerTracking && NativeRuntimeEventSource.Log.IsEnabled())
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.HillClimbing.cs (3)
174if (NativeRuntimeEventSource.Log.IsEnabled()) 350if (NativeRuntimeEventSource.Log.IsEnabled()) 418if (NativeRuntimeEventSource.Log.IsEnabled())
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.WaitThread.cs (2)
40if (NativeRuntimeEventSource.Log.IsEnabled()) 75if (NativeRuntimeEventSource.Log.IsEnabled())
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.WorkerThread.cs (3)
63if (NativeRuntimeEventSource.Log.IsEnabled()) 87if (NativeRuntimeEventSource.Log.IsEnabled()) 230if (NativeRuntimeEventSource.Log.IsEnabled())
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs (11)
528if (TplEventSource.Log.IsEnabled()) 650if (TplEventSource.Log.IsEnabled()) 666if (TplEventSource.Log.IsEnabled()) 767if (TplEventSource.Log.IsEnabled()) 789if (TplEventSource.Log.IsEnabled()) 884if (TplEventSource.Log.IsEnabled()) 906if (TplEventSource.Log.IsEnabled()) 1009if (TplEventSource.Log.IsEnabled()) 1031if (TplEventSource.Log.IsEnabled()) 1142if (TplEventSource.Log.IsEnabled()) 1164if (TplEventSource.Log.IsEnabled())
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (25)
855if (TplEventSource.Log.IsEnabled()) 1175if (TplEventSource.Log.IsEnabled()) 1681if (TplEventSource.Log.IsEnabled() && (Options & (TaskCreationOptions)InternalTaskOptions.ContinuationTask) == 0) 2059if (TplEventSource.Log.IsEnabled()) 2075if (TplEventSource.Log.IsEnabled()) 2084if (TplEventSource.Log.IsEnabled()) 2310bool etwIsEnabled = log.IsEnabled(); 2982bool etwIsEnabled = log.IsEnabled(); 3311if (TplEventSource.Log.IsEnabled()) 3458bool etwIsEnabled = log.IsEnabled(); 3617if (TplEventSource.Log.IsEnabled()) 4509if (log.IsEnabled()) 5799if (TplEventSource.Log.IsEnabled()) 5841if (TplEventSource.Log.IsEnabled()) 6054if (TplEventSource.Log.IsEnabled()) 6081if (TplEventSource.Log.IsEnabled()) 6134if (TplEventSource.Log.IsEnabled()) 6397if (TplEventSource.Log.IsEnabled()) 6412if (TplEventSource.Log.IsEnabled()) 6467if (TplEventSource.Log.IsEnabled()) 6621if (TplEventSource.Log.IsEnabled()) 6656if (TplEventSource.Log.IsEnabled()) 7392if (TplEventSource.Log.IsEnabled()) 7502if (TplEventSource.Log.IsEnabled()) 7528if (TplEventSource.Log.IsEnabled())
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskContinuation.cs (10)
279if (TplEventSource.Log.IsEnabled()) 314if (TplEventSource.Log.IsEnabled() && !continuationTask.IsCanceled) 404if (log.IsEnabled()) 422if (log.IsEnabled() && log.TasksSetActivityIds && c.m_continuationId != 0) 577if (log.IsEnabled()) 625if (!log.IsEnabled() && context == null) 632if (log.IsEnabled() && log.TasksSetActivityIds && m_continuationId != 0) 659if (log.IsEnabled() && log.TasksSetActivityIds && m_continuationId != 0) 780if (TplEventSource.Log.IsEnabled()) 815if (log.IsEnabled() && task != null)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs (8)
1558if (TplEventSource.Log.IsEnabled()) 1567if (TplEventSource.Log.IsEnabled()) 1573if (TplEventSource.Log.IsEnabled()) 1628if (TplEventSource.Log.IsEnabled()) 1637if (TplEventSource.Log.IsEnabled()) 1643if (TplEventSource.Log.IsEnabled()) 2283if (TplEventSource.Log.IsEnabled()) 2299if (TplEventSource.Log.IsEnabled())
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskScheduler.cs (2)
187if (TplEventSource.Log.IsEnabled()) 234if (TplEventSource.Log.IsEnabled())
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TplEventSource.cs (13)
197if (IsEnabled() && IsEnabled(EventLevel.Informational, Keywords.TaskTransfer | Keywords.Tasks)) 268if (IsEnabled() && IsEnabled(EventLevel.Informational, Keywords.Tasks)) 313if (IsEnabled() && IsEnabled(EventLevel.Informational, Keywords.TaskTransfer | Keywords.Tasks)) 361if (IsEnabled() && IsEnabled(EventLevel.Verbose, Keywords.Tasks)) 374if (IsEnabled() && IsEnabled(EventLevel.Verbose, Keywords.TaskStops)) 387if (IsEnabled() && IsEnabled(EventLevel.Verbose, Keywords.Tasks)) 405if (IsEnabled() && IsEnabled(EventLevel.Informational, Keywords.TaskTransfer | Keywords.Tasks)) 436if (IsEnabled() && IsEnabled(EventLevel.Informational, Keywords.AsyncCausalityOperation)) 464if (IsEnabled() && IsEnabled(EventLevel.Informational, Keywords.AsyncCausalityRelation)) 472if (IsEnabled() && IsEnabled(EventLevel.Informational, Keywords.AsyncCausalityOperation)) 480if (IsEnabled() && IsEnabled(EventLevel.Informational, Keywords.AsyncCausalitySynchronousWork)) 490if (IsEnabled() && IsEnabled(EventLevel.Informational, Keywords.AsyncCausalitySynchronousWork)) 547if (IsEnabled() && IsEnabled(EventLevel.Warning, Keywords.AsyncMethod))
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (4)
600if (!FrameworkEventSource.Log.IsEnabled()) 635if (_loggingEnabled && FrameworkEventSource.Log.IsEnabled()) 704if (_loggingEnabled && FrameworkEventSource.Log.IsEnabled()) 1132if (workQueue._loggingEnabled && FrameworkEventSource.Log.IsEnabled())
System.Security.Cryptography (94)
System\Security\Cryptography\X509Certificates\ChainPal.OpenSsl.cs (9)
44if (OpenSslX509ChainEventSource.Log.IsEnabled()) 67if (OpenSslX509ChainEventSource.Log.IsEnabled()) 126if (OpenSslX509ChainEventSource.Log.IsEnabled()) 135if (OpenSslX509ChainEventSource.Log.IsEnabled()) 145if (OpenSslX509ChainEventSource.Log.IsEnabled()) 178if (OpenSslX509ChainEventSource.Log.IsEnabled()) 215if (OpenSslX509ChainEventSource.Log.IsEnabled()) 227if (OpenSslX509ChainEventSource.Log.IsEnabled()) 238if (OpenSslX509ChainEventSource.Log.IsEnabled())
System\Security\Cryptography\X509Certificates\OpenSslCertificateAssetDownloader.cs (10)
49if (OpenSslX509ChainEventSource.Log.IsEnabled()) 97if (OpenSslX509ChainEventSource.Log.IsEnabled()) 124if (OpenSslX509ChainEventSource.Log.IsEnabled()) 146if (OpenSslX509ChainEventSource.Log.IsEnabled()) 154if (OpenSslX509ChainEventSource.Log.IsEnabled()) 162if (OpenSslX509ChainEventSource.Log.IsEnabled()) 170if (OpenSslX509ChainEventSource.Log.IsEnabled()) 178if (OpenSslX509ChainEventSource.Log.IsEnabled()) 186if (OpenSslX509ChainEventSource.Log.IsEnabled()) 194if (OpenSslX509ChainEventSource.Log.IsEnabled())
System\Security\Cryptography\X509Certificates\OpenSslCrlCache.cs (14)
51if (OpenSslX509ChainEventSource.Log.IsEnabled()) 64if (OpenSslX509ChainEventSource.Log.IsEnabled()) 79if (OpenSslX509ChainEventSource.Log.IsEnabled()) 90if (OpenSslX509ChainEventSource.Log.IsEnabled()) 103if (OpenSslX509ChainEventSource.Log.IsEnabled()) 118if (OpenSslX509ChainEventSource.Log.IsEnabled()) 140if (OpenSslX509ChainEventSource.Log.IsEnabled()) 172if (OpenSslX509ChainEventSource.Log.IsEnabled()) 193if (OpenSslX509ChainEventSource.Log.IsEnabled()) 242if (OpenSslX509ChainEventSource.Log.IsEnabled()) 254if (OpenSslX509ChainEventSource.Log.IsEnabled()) 317if (OpenSslX509ChainEventSource.Log.IsEnabled()) 351if (OpenSslX509ChainEventSource.Log.IsEnabled()) 359if (OpenSslX509ChainEventSource.Log.IsEnabled())
System\Security\Cryptography\X509Certificates\OpenSslX509ChainEventSource.cs (46)
96if (IsEnabled()) 108if (IsEnabled()) 117if (IsEnabled()) 126if (IsEnabled()) 144if (IsEnabled()) 165if (IsEnabled()) 174if (IsEnabled()) 195if (IsEnabled()) 207if (IsEnabled()) 216if (IsEnabled()) 239if (IsEnabled()) 248if (IsEnabled()) 260if (IsEnabled()) 272if (IsEnabled()) 284if (IsEnabled()) 296if (IsEnabled()) 308if (IsEnabled()) 317if (IsEnabled()) 338if (IsEnabled()) 347if (IsEnabled()) 368if (IsEnabled()) 380if (IsEnabled()) 389if (IsEnabled()) 410if (IsEnabled()) 422if (IsEnabled()) 435if (IsEnabled()) 447if (IsEnabled()) 459if (IsEnabled()) 471if (IsEnabled()) 483if (IsEnabled()) 495if (IsEnabled()) 507if (IsEnabled()) 519if (IsEnabled()) 531if (IsEnabled()) 543if (IsEnabled()) 552if (IsEnabled()) 573if (IsEnabled()) 582if (IsEnabled()) 600if (IsEnabled()) 659if (IsEnabled()) 668if (IsEnabled()) 686if (IsEnabled()) 708if (IsEnabled()) 720if (IsEnabled()) 729if (IsEnabled()) 750if (IsEnabled())
System\Security\Cryptography\X509Certificates\OpenSslX509ChainProcessor.cs (15)
245if (OpenSslX509ChainEventSource.Log.IsEnabled()) 344if (OpenSslX509ChainEventSource.Log.IsEnabled()) 365if (OpenSslX509ChainEventSource.Log.IsEnabled()) 390if (OpenSslX509ChainEventSource.Log.IsEnabled()) 417if (OpenSslX509ChainEventSource.Log.IsEnabled()) 429if (OpenSslX509ChainEventSource.Log.IsEnabled()) 446if (OpenSslX509ChainEventSource.Log.IsEnabled()) 454if (OpenSslX509ChainEventSource.Log.IsEnabled() && OpenSslX509ChainEventSource.Log.ShouldLogElementStatuses()) 625if (OpenSslX509ChainEventSource.Log.IsEnabled() && OpenSslX509ChainEventSource.Log.ShouldLogElementStatuses()) 753if (OpenSslX509ChainEventSource.Log.IsEnabled()) 818if (OpenSslX509ChainEventSource.Log.IsEnabled()) 1251else if (OpenSslX509ChainEventSource.Log.IsEnabled()) 1259if (OpenSslX509ChainEventSource.Log.IsEnabled()) 1268if (OpenSslX509ChainEventSource.Log.IsEnabled()) 1277if (OpenSslX509ChainEventSource.Log.IsEnabled())
System.Threading (1)
System\Threading\Barrier.cs (1)
671if (CdsSyncEtwBCLProvider.Log.IsEnabled())
System.Threading.Tasks.Dataflow (27)
Blocks\ActionBlock.cs (1)
123if (etwLog.IsEnabled())
Blocks\BatchBlock.cs (2)
92if (etwLog.IsEnabled()) 645if (etwLog.IsEnabled())
Blocks\BatchedJoinBlock.cs (2)
110if (etwLog.IsEnabled()) 362if (etwLog.IsEnabled())
Blocks\BroadcastBlock.cs (4)
102if (etwLog.IsEnabled()) 264if (etwLog.IsEnabled()) 841if (etwLog.IsEnabled()) 1002if (etwLog.IsEnabled())
Blocks\BufferBlock.cs (2)
84if (etwLog.IsEnabled()) 265if (etwLog.IsEnabled())
Blocks\JoinBlock.cs (3)
106if (etwLog.IsEnabled()) 331if (etwLog.IsEnabled()) 1286if (etwLog.IsEnabled())
Blocks\TransformBlock.cs (1)
165if (etwLog.IsEnabled())
Blocks\TransformManyBlock.cs (1)
161if (etwLog.IsEnabled())
Blocks\WriteOnceBlock.cs (3)
102if (etwLog.IsEnabled()) 127if (etwLog.IsEnabled()) 202if (etwLog.IsEnabled())
Internal\SourceCore.cs (2)
763if (etwLog.IsEnabled()) 976if (etwLog.IsEnabled())
Internal\SpscTargetCore.cs (2)
174if (etwLog.IsEnabled()) 348if (etwLog.IsEnabled())
Internal\TargetCore.cs (2)
376if (etwLog.IsEnabled()) 798(etwLog = DataflowEtwProvider.Log).IsEnabled())
Internal\TargetRegistry.cs (2)
100if (etwLog.IsEnabled()) 161if (etwLog.IsEnabled())
System.Threading.Tasks.Parallel (10)
System\Threading\Tasks\Parallel.cs (10)
218if (ParallelEtwProvider.Log.IsEnabled()) 365if (ParallelEtwProvider.Log.IsEnabled()) 970if (ParallelEtwProvider.Log.IsEnabled()) 1008if (ParallelEtwProvider.Log.IsEnabled()) 1108if (ParallelEtwProvider.Log.IsEnabled()) 1143if (ParallelEtwProvider.Log.IsEnabled()) 2537if (ParallelEtwProvider.Log.IsEnabled()) 2599if (ParallelEtwProvider.Log.IsEnabled()) 2745if (ParallelEtwProvider.Log.IsEnabled()) 2793if (ParallelEtwProvider.Log.IsEnabled())
System.Transactions.Local (217)
System\Transactions\CommittableTransaction.cs (9)
40if (etwLog.IsEnabled()) 49if (etwLog.IsEnabled()) 70if (etwLog.IsEnabled()) 83if (etwLog.IsEnabled()) 114if (etwLog.IsEnabled()) 123if (etwLog.IsEnabled()) 150if (etwLog.IsEnabled()) 159if (etwLog.IsEnabled()) 183if (etwLog.IsEnabled())
System\Transactions\DependentTransaction.cs (2)
35if (etwLog.IsEnabled()) 62if (etwLog.IsEnabled())
System\Transactions\DurableEnlistmentState.cs (2)
97if (etwLog.IsEnabled()) 148if (etwLog.IsEnabled())
System\Transactions\Enlistment.cs (2)
497if (etwLog.IsEnabled()) 508if (etwLog.IsEnabled())
System\Transactions\PreparingEnlistment.cs (8)
17if (etwLog.IsEnabled()) 28if (etwLog.IsEnabled()) 37if (etwLog.IsEnabled()) 48if (etwLog.IsEnabled()) 57if (etwLog.IsEnabled()) 68if (etwLog.IsEnabled()) 77if (etwLog.IsEnabled()) 91if (etwLog.IsEnabled())
System\Transactions\SinglePhaseEnlistment.cs (12)
15if (etwLog.IsEnabled()) 26if (etwLog.IsEnabled()) 35if (etwLog.IsEnabled()) 46if (etwLog.IsEnabled()) 56if (etwLog.IsEnabled()) 67if (etwLog.IsEnabled()) 77if (etwLog.IsEnabled()) 84if (etwLog.IsEnabled()) 92if (etwLog.IsEnabled()) 102if (etwLog.IsEnabled()) 109if (etwLog.IsEnabled()) 117if (etwLog.IsEnabled())
System\Transactions\Transaction.cs (36)
156if (etwLog.IsEnabled()) 173if (etwLog.IsEnabled()) 184if (etwLog.IsEnabled()) 193if (etwLog.IsEnabled()) 206if (etwLog.IsEnabled()) 350if (etwLog.IsEnabled()) 365if (etwLog.IsEnabled()) 382if (etwLog.IsEnabled()) 389if (etwLog.IsEnabled()) 414if (etwLog.IsEnabled()) 450if (etwLog.IsEnabled()) 476if (etwLog.IsEnabled()) 506if (etwLog.IsEnabled()) 524if (etwLog.IsEnabled()) 554if (etwLog.IsEnabled()) 566if (etwLog.IsEnabled()) 580if (etwLog.IsEnabled()) 590if (etwLog.IsEnabled()) 604if (etwLog.IsEnabled()) 616if (etwLog.IsEnabled()) 641if (etwLog.IsEnabled()) 655if (etwLog.IsEnabled()) 680if (etwLog.IsEnabled()) 693if (etwLog.IsEnabled()) 707if (etwLog.IsEnabled()) 719if (etwLog.IsEnabled()) 735if (etwLog.IsEnabled()) 756if (etwLog.IsEnabled()) 823if (etwLog.IsEnabled()) 840if (etwLog.IsEnabled()) 896if (etwLog.IsEnabled()) 923if (etwLog.IsEnabled()) 937if (etwLog.IsEnabled()) 968if (etwLog.IsEnabled()) 981if (etwLog.IsEnabled()) 1007if (etwLog.IsEnabled())
System\Transactions\TransactionException.cs (7)
25if (etwLog.IsEnabled()) 45if (etwLog.IsEnabled()) 55if (etwLog.IsEnabled()) 128if (etwLog.IsEnabled()) 166if (etwLog.IsEnabled()) 243if (etwLog.IsEnabled()) 297if (etwLog.IsEnabled())
System\Transactions\TransactionInformation.cs (6)
22if (etwLog.IsEnabled()) 33if (etwLog.IsEnabled()) 47if (etwLog.IsEnabled()) 65if (etwLog.IsEnabled()) 81if (etwLog.IsEnabled()) 93if (etwLog.IsEnabled())
System\Transactions\TransactionInteropNonWindows.cs (16)
51if (etwLog.IsEnabled()) 63if (etwLog.IsEnabled()) 81if (etwLog.IsEnabled()) 100if (etwLog.IsEnabled()) 112if (etwLog.IsEnabled()) 125if (etwLog.IsEnabled()) 133if (etwLog.IsEnabled()) 151if (etwLog.IsEnabled()) 165if (etwLog.IsEnabled()) 178if (etwLog.IsEnabled()) 190if (etwLog.IsEnabled()) 198if (etwLog.IsEnabled()) 211if (etwLog.IsEnabled()) 218if (etwLog.IsEnabled()) 228if (etwLog.IsEnabled()) 235if (etwLog.IsEnabled())
System\Transactions\TransactionManager.cs (21)
152if (etwLog.IsEnabled()) 177if (etwLog.IsEnabled()) 187if (etwLog.IsEnabled()) 195if (etwLog.IsEnabled()) 218if (etwLog.IsEnabled()) 246if (etwLog.IsEnabled()) 254if (etwLog.IsEnabled()) 272if (etwLog.IsEnabled()) 297if (etwLog.IsEnabled()) 307if (etwLog.IsEnabled()) 314if (etwLog.IsEnabled()) 323if (etwLog.IsEnabled()) 331if (etwLog.IsEnabled()) 339if (etwLog.IsEnabled()) 354if (etwLog.IsEnabled()) 361if (etwLog.IsEnabled()) 371if (etwLog.IsEnabled()) 386if (etwLog.IsEnabled()) 392if (etwLog.IsEnabled()) 463if (etwLog.IsEnabled()) 494if (etwLog.IsEnabled())
System\Transactions\TransactionScope.cs (40)
59if (etwLog.IsEnabled()) 74if (etwLog.IsEnabled()) 92if (etwLog.IsEnabled()) 100if (etwLog.IsEnabled()) 118if (etwLog.IsEnabled()) 146if (etwLog.IsEnabled()) 164if (etwLog.IsEnabled()) 172if (etwLog.IsEnabled()) 190if (etwLog.IsEnabled()) 232if (etwLog.IsEnabled()) 250if (etwLog.IsEnabled()) 258if (etwLog.IsEnabled()) 270if (etwLog.IsEnabled()) 314if (etwLog.IsEnabled()) 332if (etwLog.IsEnabled()) 340if (etwLog.IsEnabled()) 357if (etwLog.IsEnabled()) 369if (etwLog.IsEnabled()) 386if (etwLog.IsEnabled()) 398if (etwLog.IsEnabled()) 411if (etwLog.IsEnabled()) 424if (etwLog.IsEnabled()) 489if (etwLog.IsEnabled()) 507if (etwLog.IsEnabled()) 513if (etwLog.IsEnabled()) 523if (etwLog.IsEnabled()) 595if (etwLog.IsEnabled()) 633if (etwLog.IsEnabled()) 640if (etwLog.IsEnabled()) 694if (etwLog.IsEnabled()) 745if (etwLog.IsEnabled()) 763if (etwLog.IsEnabled()) 770if (etwLog.IsEnabled()) 782if (etwLog.IsEnabled()) 831if (etwLog.IsEnabled()) 843if (etwLog.IsEnabled()) 855if (etwLog.IsEnabled()) 871if (etwLog.IsEnabled()) 882if (etwLog.IsEnabled()) 890if (etwLog.IsEnabled())
System\Transactions\TransactionState.cs (47)
301if (etwLog.IsEnabled()) 313if (etwLog.IsEnabled()) 325if (etwLog.IsEnabled()) 337if (etwLog.IsEnabled()) 349if (etwLog.IsEnabled()) 361if (etwLog.IsEnabled()) 373if (etwLog.IsEnabled()) 385if (etwLog.IsEnabled()) 397if (etwLog.IsEnabled()) 425if (etwLog.IsEnabled()) 577if (etwLog.IsEnabled()) 588if (etwLog.IsEnabled()) 723if (etwLog.IsEnabled()) 749if (etwLog.IsEnabled()) 775if (etwLog.IsEnabled()) 1002if (etwLog.IsEnabled()) 1029if (etwLog.IsEnabled()) 1064if (etwLog.IsEnabled()) 1245if (etwLog.IsEnabled()) 1402if (etwLog.IsEnabled()) 1533if (etwLog.IsEnabled()) 1596if (etwLog.IsEnabled()) 2069if (etwLog.IsEnabled()) 2084if (etwLog.IsEnabled()) 2189if (etwLog.IsEnabled()) 2200if (etwLog.IsEnabled()) 2311if (etwLog.IsEnabled()) 2340if (etwLog.IsEnabled()) 2370if (etwLog.IsEnabled()) 2431if (etwLog.IsEnabled()) 2947if (etwLog.IsEnabled()) 3091if (etwLog.IsEnabled()) 3161if (etwLog.IsEnabled()) 3271if (etwLog.IsEnabled()) 3284if (etwLog.IsEnabled()) 3331if (etwLog.IsEnabled()) 3420if (etwLog.IsEnabled()) 3447if (etwLog.IsEnabled()) 3603if (etwLog.IsEnabled()) 3849if (etwLog.IsEnabled()) 4051if (etwLog.IsEnabled()) 4144if (etwLog.IsEnabled()) 4188if (etwLog.IsEnabled()) 4257if (etwLog.IsEnabled()) 4272if (etwLog.IsEnabled()) 4618if (etwLog.IsEnabled()) 4654if (etwLog.IsEnabled())
System\Transactions\VolatileEnlistmentMultiplexing.cs (4)
267if (etwLog.IsEnabled()) 276if (etwLog.IsEnabled()) 358if (etwLog.IsEnabled()) 367if (etwLog.IsEnabled())
System\Transactions\VolatileEnlistmentState.cs (5)
142if (etwLog.IsEnabled()) 214if (etwLog.IsEnabled()) 367if (etwLog.IsEnabled()) 410if (etwLog.IsEnabled()) 444if (etwLog.IsEnabled())
Templates.Blazor.Tests (31)
src\Shared\CertificateGeneration\CertificateManager.cs (27)
98if (Log.IsEnabled()) 114if (Log.IsEnabled()) 137if (Log.IsEnabled()) 202if (Log.IsEnabled()) 228if (Log.IsEnabled()) 237if (Log.IsEnabled()) 253if (Log.IsEnabled()) 258if (Log.IsEnabled()) 276if (Log.IsEnabled()) 300if (Log.IsEnabled()) 309if (Log.IsEnabled()) 339if (Log.IsEnabled()) 409if (Log.IsEnabled()) 421if (Log.IsEnabled()) 428if (Log.IsEnabled()) 440if (Log.IsEnabled()) 453if (Log.IsEnabled()) 468if (Log.IsEnabled()) 504if (Log.IsEnabled()) 583catch (Exception e) when (Log.IsEnabled()) 606catch (Exception ex) when (Log.IsEnabled()) 634catch (Exception ex) when (Log.IsEnabled()) 701if (Log.IsEnabled()) 716if (Log.IsEnabled()) 724catch (Exception ex) when (Log.IsEnabled()) 819if (Log.IsEnabled()) 826catch (Exception ex) when (Log.IsEnabled())
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (4)
100if (Log.IsEnabled()) 252if (Log.IsEnabled()) 315if (Log.IsEnabled()) 353if (Log.IsEnabled())
Templates.Blazor.WebAssembly.Auth.Tests (31)
src\Shared\CertificateGeneration\CertificateManager.cs (27)
98if (Log.IsEnabled()) 114if (Log.IsEnabled()) 137if (Log.IsEnabled()) 202if (Log.IsEnabled()) 228if (Log.IsEnabled()) 237if (Log.IsEnabled()) 253if (Log.IsEnabled()) 258if (Log.IsEnabled()) 276if (Log.IsEnabled()) 300if (Log.IsEnabled()) 309if (Log.IsEnabled()) 339if (Log.IsEnabled()) 409if (Log.IsEnabled()) 421if (Log.IsEnabled()) 428if (Log.IsEnabled()) 440if (Log.IsEnabled()) 453if (Log.IsEnabled()) 468if (Log.IsEnabled()) 504if (Log.IsEnabled()) 583catch (Exception e) when (Log.IsEnabled()) 606catch (Exception ex) when (Log.IsEnabled()) 634catch (Exception ex) when (Log.IsEnabled()) 701if (Log.IsEnabled()) 716if (Log.IsEnabled()) 724catch (Exception ex) when (Log.IsEnabled()) 819if (Log.IsEnabled()) 826catch (Exception ex) when (Log.IsEnabled())
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (4)
100if (Log.IsEnabled()) 252if (Log.IsEnabled()) 315if (Log.IsEnabled()) 353if (Log.IsEnabled())
Templates.Blazor.WebAssembly.Tests (31)
src\Shared\CertificateGeneration\CertificateManager.cs (27)
98if (Log.IsEnabled()) 114if (Log.IsEnabled()) 137if (Log.IsEnabled()) 202if (Log.IsEnabled()) 228if (Log.IsEnabled()) 237if (Log.IsEnabled()) 253if (Log.IsEnabled()) 258if (Log.IsEnabled()) 276if (Log.IsEnabled()) 300if (Log.IsEnabled()) 309if (Log.IsEnabled()) 339if (Log.IsEnabled()) 409if (Log.IsEnabled()) 421if (Log.IsEnabled()) 428if (Log.IsEnabled()) 440if (Log.IsEnabled()) 453if (Log.IsEnabled()) 468if (Log.IsEnabled()) 504if (Log.IsEnabled()) 583catch (Exception e) when (Log.IsEnabled()) 606catch (Exception ex) when (Log.IsEnabled()) 634catch (Exception ex) when (Log.IsEnabled()) 701if (Log.IsEnabled()) 716if (Log.IsEnabled()) 724catch (Exception ex) when (Log.IsEnabled()) 819if (Log.IsEnabled()) 826catch (Exception ex) when (Log.IsEnabled())
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (4)
100if (Log.IsEnabled()) 252if (Log.IsEnabled()) 315if (Log.IsEnabled()) 353if (Log.IsEnabled())
Templates.Mvc.Tests (31)
src\Shared\CertificateGeneration\CertificateManager.cs (27)
98if (Log.IsEnabled()) 114if (Log.IsEnabled()) 137if (Log.IsEnabled()) 202if (Log.IsEnabled()) 228if (Log.IsEnabled()) 237if (Log.IsEnabled()) 253if (Log.IsEnabled()) 258if (Log.IsEnabled()) 276if (Log.IsEnabled()) 300if (Log.IsEnabled()) 309if (Log.IsEnabled()) 339if (Log.IsEnabled()) 409if (Log.IsEnabled()) 421if (Log.IsEnabled()) 428if (Log.IsEnabled()) 440if (Log.IsEnabled()) 453if (Log.IsEnabled()) 468if (Log.IsEnabled()) 504if (Log.IsEnabled()) 583catch (Exception e) when (Log.IsEnabled()) 606catch (Exception ex) when (Log.IsEnabled()) 634catch (Exception ex) when (Log.IsEnabled()) 701if (Log.IsEnabled()) 716if (Log.IsEnabled()) 724catch (Exception ex) when (Log.IsEnabled()) 819if (Log.IsEnabled()) 826catch (Exception ex) when (Log.IsEnabled())
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (4)
100if (Log.IsEnabled()) 252if (Log.IsEnabled()) 315if (Log.IsEnabled()) 353if (Log.IsEnabled())
Templates.Tests (31)
src\Shared\CertificateGeneration\CertificateManager.cs (27)
98if (Log.IsEnabled()) 114if (Log.IsEnabled()) 137if (Log.IsEnabled()) 202if (Log.IsEnabled()) 228if (Log.IsEnabled()) 237if (Log.IsEnabled()) 253if (Log.IsEnabled()) 258if (Log.IsEnabled()) 276if (Log.IsEnabled()) 300if (Log.IsEnabled()) 309if (Log.IsEnabled()) 339if (Log.IsEnabled()) 409if (Log.IsEnabled()) 421if (Log.IsEnabled()) 428if (Log.IsEnabled()) 440if (Log.IsEnabled()) 453if (Log.IsEnabled()) 468if (Log.IsEnabled()) 504if (Log.IsEnabled()) 583catch (Exception e) when (Log.IsEnabled()) 606catch (Exception ex) when (Log.IsEnabled()) 634catch (Exception ex) when (Log.IsEnabled()) 701if (Log.IsEnabled()) 716if (Log.IsEnabled()) 724catch (Exception ex) when (Log.IsEnabled()) 819if (Log.IsEnabled()) 826catch (Exception ex) when (Log.IsEnabled())
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (4)
100if (Log.IsEnabled()) 252if (Log.IsEnabled()) 315if (Log.IsEnabled()) 353if (Log.IsEnabled())