14 references to Log
System.Net.NameResolution (14)
System\Net\Dns.cs (13)
20
NameResolutionActivity activity = NameResolutionTelemetry.
Log
.BeforeResolution(string.Empty);
33
NameResolutionTelemetry.
Log
.AfterResolution(string.Empty, activity, answer: name);
394
NameResolutionActivity activity = activityOrDefault ?? NameResolutionTelemetry.
Log
.BeforeResolution(hostName);
422
NameResolutionTelemetry.
Log
.AfterResolution(hostName, activity, answer: result);
444
NameResolutionActivity activity = activityOrDefault ?? NameResolutionTelemetry.
Log
.BeforeResolution(address);
464
NameResolutionTelemetry.
Log
.AfterResolution(address, activity, answer: name);
467
activity = NameResolutionTelemetry.
Log
.BeforeResolution(name);
494
NameResolutionTelemetry.
Log
.AfterResolution(name, activity, answer: result);
617
NameResolutionActivity activity = NameResolutionTelemetry.
Log
.BeforeResolution(hostName, startingTimeStamp);
632
NameResolutionTelemetry.
Log
.AfterResolution(hostName, activity, answer: result, exception: exception);
659
NameResolutionTelemetry.
Log
.AfterResolution(hostNameOrAddress, activity, answer: null, exception: exception);
681
NameResolutionActivity activity = NameResolutionTelemetry.
Log
.BeforeResolution(key);
729
NameResolutionTelemetry.
Log
.AfterResolution(key!, activity, new OperationCanceledException());
System\Net\NameResolutionTelemetry.cs (1)
62
public static bool AnyDiagnosticsEnabled() => !OperatingSystem.IsWasi() && (
Log
.IsEnabled() || NameResolutionMetrics.IsEnabled() || NameResolutionActivity.IsTracingEnabled());