1 instantiation of NetEventSource
System.Net.Requests (1)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
38public static readonly NetEventSource Log = new NetEventSource();
124 references to NetEventSource
System.Net.Requests (124)
src\libraries\Common\src\System\Net\ContextAwareResult.cs (16)
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 (10)
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.cs (1)
38public static readonly NetEventSource Log = new NetEventSource();
System\Net\CommandStream.cs (9)
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 (10)
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 (4)
30if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this); 65if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"state = {closeState}");
System\Net\FtpWebRequest.cs (50)
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 (24)
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");