1 instantiation of NetEventSource
System.Net.NameResolution (1)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
38public static readonly NetEventSource Log = new NetEventSource();
55 references to NetEventSource
System.Net.NameResolution (55)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
38public static readonly NetEventSource Log = new NetEventSource();
System\Net\Dns.cs (54)
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()) 130NetEventSource.Info(hostNameOrAddress, $"{t.Result} with {t.Result.AddressList.Length} entries"); 137NetEventSource.Error(hostNameOrAddress, $"{hostNameOrAddress} DNS lookup failed with {soex.ErrorCode}"); 141NetEventSource.Error(hostNameOrAddress, $"{hostNameOrAddress} DNS lookup was canceled"); 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); 475if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(hostName, "RFC 6761: Returning NXDOMAIN for 'invalid' domain"); 515if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(hostName, "RFC 6761: Localhost subdomain resolution failed, falling back to 'localhost'"); 521if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(hostName, $"{hostName} DNS lookup failed with {errorCode}"); 528if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(hostName, "RFC 6761: Localhost subdomain returned empty, falling back to 'localhost'"); 588if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(address, $"{address} DNS lookup failed with {errorCode}"); 616if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(address, $"forward lookup for '{name}' failed with {errorCode}"); 675if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(hostName, $"Invalid address '{ipAddress}'"); 794if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(hostName, "RFC 6761: Localhost subdomain returned empty, falling back to 'localhost'"); 804if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(hostName, "RFC 6761: Localhost subdomain returned empty, falling back to 'localhost'"); 817if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(hostName, "RFC 6761: Localhost subdomain resolution failed, falling back to 'localhost'");