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)
485
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, uri);
522
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"Method: {_methodInfo.Method}");
584
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(this, exception);
591
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(this, exception);
605
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"Method: {_methodInfo.Method}");
668
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(this, exception);
700
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(this, exception);
712
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"Method: {_methodInfo.Method}");
753
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(this, exception);
764
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"Method: {_methodInfo.Method}");
792
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(this, exception);
832
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(this, exception);
882
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, "Request being submitted");
1042
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this);
1047
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, "aborting connection");
1075
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"Releasing connection: {_connection}");
1091
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this);
1157
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"exp:{exception} completedRequest:{completedRequest}");
1209
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"stream:{stream} conn:{connection} exp:{exception} completedRequest:{completedRequest}");
1235
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"Releasing connect:{connection}");
1240
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Associate(this, _connection);
1317
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"state:{stage}");
1381
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"Releasing connection: {connection}");
1453
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(this, exception);
1675
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");