1 instantiation of NetEventSource
System.Net.Requests (1)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
38
public static readonly NetEventSource Log = new
NetEventSource
();
124 references to NetEventSource
System.Net.Requests (124)
src\libraries\Common\src\System\Net\ContextAwareResult.cs (16)
259
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this);
280
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, "starting identity capture");
288
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, "starting capture");
305
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"_context:{_context}");
310
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, "Skipping capture");
323
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, "Completing synchronously");
334
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"_context(set):{_context != null} userToken:{userToken}");
366
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, "Context set, calling callback.");
src\libraries\Common\src\System\Net\LazyAsyncResult.cs (10)
64
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this);
362
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, "Invoking callback");
366
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, "*** OFFLOADED the user callback ****");
384
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, "No callback to invoke");
447
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"Waiting for completion event {waitHandle}");
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
38
public static readonly
NetEventSource
Log = new NetEventSource();
System\Net\CommandStream.cs (9)
47
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, "closing control Stream");
75
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this);
199
if (
NetEventSource
.Log.IsEnabled())
208
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"Sending command {sendCommand}");
661
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"Received response: {responseString.Substring(0, completeLength - 2)}");
System\Net\FtpControlStream.cs (10)
240
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"Command:{entry?.Command} Description:{response?.StatusDescription}");
483
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this);
718
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, "starting Connect()");
732
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, "starting Accept()");
1179
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"CheckValid({response.StatusBuffer})");
System\Net\FtpDataStream.cs (4)
30
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this);
65
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"state = {closeState}");
System\Net\FtpWebRequest.cs (50)
487
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, uri);
524
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"Method: {_methodInfo.Method}");
586
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(this, exception);
593
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(this, exception);
607
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"Method: {_methodInfo.Method}");
670
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(this, exception);
702
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(this, exception);
714
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"Method: {_methodInfo.Method}");
755
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(this, exception);
766
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"Method: {_methodInfo.Method}");
794
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(this, exception);
834
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(this, exception);
884
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, "Request being submitted");
1044
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this);
1049
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, "aborting connection");
1077
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"Releasing connection: {_connection}");
1093
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this);
1159
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"exp:{exception} completedRequest:{completedRequest}");
1211
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"stream:{stream} conn:{connection} exp:{exception} completedRequest:{completedRequest}");
1237
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"Releasing connect:{connection}");
1242
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Associate(this, _connection);
1319
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"state:{stage}");
1383
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"Releasing connection: {connection}");
1455
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(this, exception);
1677
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"Returns {_ftpWebResponse} with stream {_ftpWebResponse._responseStream}");
System\Net\TimerThread.cs (24)
311
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"TimerThreadTimer#{StartTime}");
359
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"TimerThreadTimer#{StartTime} Cancel (success)");
365
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"TimerThreadTimer#{StartTime} Cancel (failure)");
377
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, "TimerQueue tried to Fire a Sentinel.");
390
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"TimerThreadTimer#{StartTime}::Fire() Not firing ({StartTime} <= {nowMilliseconds} < {Expiration})");
399
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"TimerThreadTimer#{StartTime}::Fire() Firing ({StartTime} <= {nowMilliseconds} >= " + Expiration + ")");
427
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(this, $"exception in callback: {exception}");
553
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(null, $"Waiting for {waitDuration}ms");
560
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(null, "Awoke, cause: Shutdown");
565
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(null, $"Awoke, cause {(waitResult == WaitHandle.WaitTimeout ? "Timeout" : "Prod")}");
591
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(null, exception);
607
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(null, "Stop");