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)
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");
209
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(address, $"Invalid address '{address}'");
220
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(hostNameOrAddress, addresses);
300
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(address, ipHostEntry);
313
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(address, ipHostEntry);
333
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(hostName, ex);
342
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(hostName, ipHostEntry);
375
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(null, ex);
380
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(null, ipHostEntry);
439
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(hostName, $"{hostName} DNS lookup failed with {errorCode}");
489
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(address, $"{address} DNS lookup failed with {errorCode}");
517
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(address, $"forward lookup for '{name}' failed with {errorCode}");
576
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(hostName, $"Invalid address '{ipAddress}'");