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();
43 references to NetEventSource
System.Net.NameResolution (43)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
38public static readonly NetEventSource Log = new NetEventSource();
System\Net\Dns.cs (42)
35if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, name); 47if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(address, $"Invalid address '{address}'"); 53if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(address, $"{ipHostEntry} with {ipHostEntry.AddressList.Length} entries"); 78if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(address, $"Invalid address '{address}'"); 89if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(hostNameOrAddress, $"{ipHostEntry} with {ipHostEntry.AddressList.Length} entries"); 120if (NetEventSource.Log.IsEnabled()) 129NetEventSource.Info(hostNameOrAddress, $"{t.Result} with {t.Result.AddressList.Length} entries"); 136NetEventSource.Error(hostNameOrAddress, $"{hostNameOrAddress} DNS lookup failed with {soex.ErrorCode}"); 140NetEventSource.Error(hostNameOrAddress, $"{hostNameOrAddress} DNS lookup was canceled"); 159if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(address, $"Invalid address '{address}'"); 167if (NetEventSource.Log.IsEnabled()) NetEventSource.Info((IPAddress)s, $"{ipHostEntry} with {ipHostEntry.AddressList.Length} entries"); 208if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(address, $"Invalid address '{address}'"); 219if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(hostNameOrAddress, addresses); 299if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(address, ipHostEntry); 312if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(address, ipHostEntry); 332if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(hostName, ex); 341if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(hostName, ipHostEntry); 374if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(null, ex); 379if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, ipHostEntry); 403if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(hostName, $"{hostName} DNS lookup failed with {errorCode}"); 453if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(address, $"{address} DNS lookup failed with {errorCode}"); 476if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(address, $"forward lookup for '{name}' failed with {errorCode}"); 528if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(hostName, $"Invalid address '{ipAddress}'");