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