1 instantiation of NetEventSource
System.Net.Primitives (1)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
38
public static readonly NetEventSource Log = new
NetEventSource
();
33 references to NetEventSource
System.Net.Primitives (33)
src\libraries\Common\src\System\Net\CredentialCacheKey.cs (4)
41
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"Match({UriPrefix} & {uri})");
91
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"Equals({this},{other}) returns {equals}");
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
38
public static readonly
NetEventSource
Log = new NetEventSource();
System\Net\CookieContainer.cs (4)
680
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"uri:{uri} headerName:{headerName} setCookieHeader:{setCookieHeader} isThrow:{isThrow}");
706
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"CookieParser returned cookie:{cookie}");
System\Net\CredentialCache.cs (22)
42
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"Adding key:[{key}], cred:[{cred.Domain}],[{cred.UserName}]");
68
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"Adding key:[{key}], cred:[{credential.Domain}],[{credential.UserName}]");
85
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, "Short-circuiting because the dictionary is null.");
93
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"Removing key:[{key}]");
114
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, "Short-circuiting because the dictionary is null.");
122
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"Removing key:[{key}]");
134
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, "CredentialCache::GetCredential short-circuiting because the dictionary is null.");
140
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"Returning {(mostSpecificMatch == null ? "null" : "(" + mostSpecificMatch.UserName + ":" + mostSpecificMatch.Domain + ")")}");
153
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, "CredentialCache::GetCredential short-circuiting because the dictionary is null.");
162
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"Returning {((match == null) ? "null" : "(" + match.UserName + ":" + match.Domain + ")")}");
377
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"Equals({this},{other}) returns {equals}");
System\Net\SocketException.cs (2)
59
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"{NativeErrorCode}:{Message}");