35 references to Logger
Aspire.Dashboard (35)
Components\Pages\ConsoleLogs.razor.cs (35)
242Logger.LogDebug("Loading task completed."); 246Logger.LogDebug("Load task canceled."); 250Logger.LogWarning(ex, "Load timeout while waiting for resource {ResourceName}.", ResourceName); 263Logger.LogDebug("Received initial resource snapshot with {ResourceCount} resources.", snapshot.Length); 283Logger.LogDebug("All resources selected."); 351Logger.LogDebug("Selected console resource from name {ResourceName}.", ResourceName); 431return _resources.GetResource(Logger, ResourceName, canSelectGrouping: true, fallbackViewModel: _allResource); 436Logger.LogDebug("Setting status to '{StatusName}'.", statusName); 442Logger.LogDebug("Initializing console logs view model."); 471Logger.LogDebug("Switching to or from 'All' mode"); 476Logger.LogDebug("Switching the resources displayed in 'All' mode"); 481Logger.LogDebug("Switching to different single resource: {ResourceName}", selectedResourceName); 497Logger.LogDebug("Subscription change needed. IsAllSelected: {IsAllSelected}, SelectedResource: {SelectedResource}", isAllSelected, selectedResourceName); 507Logger.LogDebug("Creating new log entries collection."); 532Logger.LogDebug("Unexpected state. Unknown resource '{ResourceName}' selected.", selectedResourceName); 698Logger.LogWarning("No resource selected for command execution."); 738Logger.LogDebug("Subscribing to {ResourceCount} resources for 'All' view.", availableResources.Count); 742Logger.LogDebug("No resources available to subscribe to for 'All' view - will show empty logs."); 757Logger.LogDebug("Successfully created {SubscriptionCount} subscriptions for 'All' view.", _consoleLogsSubscriptions.Count); 766Logger.LogDebug("Already subscribed to resource {ResourceName}.", resourceName); 770var subscription = new ConsoleLogsSubscription(resource, Logger); 771Logger.LogDebug("Creating new subscription {SubscriptionId} for resource {ResourceName}.", subscription.SubscriptionId, resourceName); 777Logger.LogDebug("Started log subscription task for resource {ResourceName}.", resourceName); 781Logger.LogWarning("Failed to add subscription for resource {ResourceName} - may already exist.", resourceName); 827Logger.LogDebug(ex, "Failed to show the no logs message."); 871Logger.LogDebug("Starting log subscription {SubscriptionId}.", subscription.SubscriptionId); 876Logger.LogDebug("Subscribing to console logs with subscription {SubscriptionId} to resource {ResourceName}.", subscription.SubscriptionId, subscription.Resource.Name); 899Logger.LogDebug("Adding {PauseIntervalsCount} pause intervals on initial logs load.", pauseIntervals.Length); 936Logger.LogError(ex, "Error watching logs for resource {ResourceName}.", subscription.Resource.Name); 960Logger.LogDebug("Subscription {SubscriptionId} finished watching logs for resource {ResourceName}. Cancel duration: {Duration}", subscription.SubscriptionId, subscription.Resource.Name, subscription.GetCancelElapsedTime()); 1065Logger.LogDebug("Console logs paused new value: {IsPausedNewValue}", isPaused); 1078Logger.LogDebug("Inserting new pause log entry for {Resource} starting at {StartTimestamp}.", subscription.Resource.Name, timestamp); 1092Logger.LogDebug("Updating pause log entry for {Resource} starting at {StartTimestamp} with end of {EndTimestamp}.", subscription.Resource.Name, pause.StartTime, timestamp); 1144viewModel.SelectedResource = _resources.GetResource(Logger, r.Name, canSelectGrouping: false, fallbackViewModel: _allResource); 1183], Logger);