1 instantiation of NetEventSource
System.Net.NameResolution (1)
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
38
public static readonly NetEventSource Log = new
NetEventSource
();
61 references to NetEventSource
System.Net.NameResolution (61)
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
38
public static readonly
NetEventSource
Log = new NetEventSource();
System\Net\Dns.cs (60)
36
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(null, name);
48
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(address, $"Invalid address '{address}'");
54
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(address, $"{ipHostEntry} with {ipHostEntry.AddressList.Length} entries");
79
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(address, $"Invalid address '{address}'");
90
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(hostNameOrAddress, $"{ipHostEntry} with {ipHostEntry.AddressList.Length} entries");
121
if (
NetEventSource
.Log.IsEnabled())
130
NetEventSource
.Info(hostNameOrAddress, $"{t.Result} with {t.Result.AddressList.Length} entries");
137
NetEventSource
.Error(hostNameOrAddress, $"{hostNameOrAddress} DNS lookup failed with {soex.ErrorCode}");
141
NetEventSource
.Error(hostNameOrAddress, $"{hostNameOrAddress} DNS lookup was canceled");
160
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(address, $"Invalid address '{address}'");
168
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info((IPAddress)s, $"{ipHostEntry} with {ipHostEntry.AddressList.Length} entries");
207
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(address, $"Invalid address '{address}'");
218
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(hostNameOrAddress, addresses);
294
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(address, ipHostEntry);
307
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(address, ipHostEntry);
327
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(hostName, ex);
336
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(hostName, ipHostEntry);
367
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(null, ex);
372
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(null, ipHostEntry);
478
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(hostName, "RFC 6761: Returning NXDOMAIN for 'invalid' domain");
518
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(hostName, "RFC 6761: Localhost name resolution failed, falling back to 'localhost'");
524
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(hostName, $"{hostName} DNS lookup failed with {errorCode}");
531
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(hostName, "RFC 6761: Localhost name returned empty, falling back to 'localhost'");
563
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(Localhost, $"localhost IPv6 resolution failed, retrying with '{IPv6Localhost}'");
600
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(address, $"{address} DNS lookup failed with {errorCode}");
628
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(address, $"forward lookup for '{name}' failed with {errorCode}");
687
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(hostName, $"Invalid address '{ipAddress}'");
806
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(hostName, "RFC 6761: Localhost name returned empty, falling back to 'localhost'");
815
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(hostName, "RFC 6761: Localhost name returned empty, falling back to 'localhost'");
827
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(hostName, "RFC 6761: Localhost name resolution failed, falling back to 'localhost'");
859
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(Localhost, $"localhost IPv6 resolution failed, retrying with '{IPv6Localhost}'");
872
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(Localhost, $"localhost IPv6 resolution failed, retrying with '{IPv6Localhost}'");