1 write to _logger
Aspire.Dashboard (1)
ServiceClient\DashboardClient.cs (1)
115
_logger
= loggerFactory.CreateLogger<DashboardClient>();
17 references to _logger
Aspire.Dashboard (17)
ServiceClient\DashboardClient.cs (17)
120
_logger
.LogDebug("{ConfigKey} is not specified. Dashboard client services are unavailable.", DashboardConfigNames.ResourceServiceUrlName.ConfigKey);
127
_logger
.LogDebug("Dashboard configured to connect to: {Address}", address);
324
_logger
.LogDebug("Dashboard connection state changed to {State}.", state);
399
_logger
.LogError(ex, "Error loading data from the resource service. For troubleshooting, see {TroubleshootingUrl}", TroubleshootingUrl);
422
_logger
.LogDebug("Waiting {Delay} before next connection attempt.", delay);
437
_logger
.LogDebug("Reconnect delay cancelled, retrying immediately.");
481
_logger
.LogError(ex, "Error #{ErrorCount} connecting to the resource service. For troubleshooting, see {TroubleshootingUrl}", errorCount, TroubleshootingUrl);
583
_logger
.LogError(ex, "Error #{ErrorCount} watching {WatchName}. For troubleshooting, see {TroubleshootingUrl}", retryContext.ErrorCount, actionName, TroubleshootingUrl);
643
var viewModel = resource.ToViewModel(CalculateReplicaIndex(resource.DisplayName), _knownPropertyLookup,
_logger
);
663
var viewModel = change.Upsert.ToViewModel(CalculateReplicaIndex(change.Upsert.DisplayName), _knownPropertyLookup,
_logger
);
750
_logger
.LogWarning("Server does not support interactions.");
767
_logger
.LogError(ex, "Error writing to interaction request stream.");
1147
_logger
.LogError(ex, "Error executing command \"{CommandName}\" on resource \"{ResourceName}\": {StatusCode}", command.Name, resourceName, ex.StatusCode);
1245
_logger
.LogWarning("Server does not support terminals.");
1249
_logger
.LogWarning(ex, "Terminal watch stream disconnected. Retrying.");
1334
await TaskHelpers.WaitIgnoreCancelAsync(_connection,
_logger
, "Unexpected error from connection task.").ConfigureAwait(false);
1351
_resourceByName[data.Name] = data.ToViewModel(CalculateReplicaIndex(data.DisplayName), _knownPropertyLookup,
_logger
);