Components\Pages\ConsoleLogs.razor.cs (33)
199Logger.LogDebug("Loading task completed.");
203Logger.LogDebug("Load task canceled.");
207Logger.LogWarning(ex, "Load timeout while waiting for resource {ResourceName}.", ResourceName);
220Logger.LogDebug("Received initial resource snapshot with {ResourceCount} resources.", snapshot.Length);
240Logger.LogDebug("All resources selected.");
279Logger.LogDebug("Selected console resource from name {ResourceName}.", ResourceName);
287return _resources.GetResource(Logger, ResourceName, canSelectGrouping: true, fallback: _allResource);
292Logger.LogDebug("Setting status to '{StatusName}'.", statusName);
298Logger.LogDebug("Initializing console logs view model.");
315Logger.LogDebug("Switching to or from 'All' mode");
320Logger.LogDebug("Switching to different single resource: {ResourceName}", selectedResourceName);
326Logger.LogDebug("Subscription change needed. IsAllSelected: {IsAllSelected}, SelectedResource: {SelectedResource}", isAllSelected, selectedResourceName);
332Logger.LogDebug("Creating new log entries collection.");
351Logger.LogDebug("Unexpected state. Unknown resource '{ResourceName}' selected.", selectedResourceName);
493Logger.LogWarning("No resource selected for command execution.");
533Logger.LogDebug("Subscribing to {ResourceCount} resources for 'All' view.", availableResources.Count);
537Logger.LogDebug("No resources available to subscribe to for 'All' view - will show empty logs.");
552Logger.LogDebug("Successfully created {SubscriptionCount} subscriptions for 'All' view.", _consoleLogsSubscriptions.Count);
561Logger.LogDebug("Already subscribed to resource {ResourceName}.", resourceName);
565var subscription = new ConsoleLogsSubscription(resource, Logger);
566Logger.LogDebug("Creating new subscription {SubscriptionId} for resource {ResourceName}.", subscription.SubscriptionId, resourceName);
572Logger.LogDebug("Started log subscription task for resource {ResourceName}.", resourceName);
576Logger.LogWarning("Failed to add subscription for resource {ResourceName} - may already exist.", resourceName);
679Logger.LogDebug("Starting log subscription {SubscriptionId}.", subscription.SubscriptionId);
684Logger.LogDebug("Subscribing to console logs with subscription {SubscriptionId} to resource {ResourceName}.", subscription.SubscriptionId, subscription.Resource.Name);
706Logger.LogDebug("Adding {PauseIntervalsCount} pause intervals on initial logs load.", pauseIntervals.Length);
764Logger.LogError(ex, "Error watching logs for resource {ResourceName}.", subscription.Resource.Name);
787Logger.LogDebug("Subscription {SubscriptionId} finished watching logs for resource {ResourceName}. Cancel duration: {Duration}", subscription.SubscriptionId, subscription.Resource.Name, subscription.GetCancelElapsedTime());
928Logger.LogDebug("Console logs paused new value: {IsPausedNewValue}", isPaused);
941Logger.LogDebug("Inserting new pause log entry for {Resource} starting at {StartTimestamp}.", subscription.Resource.Name, timestamp);
955Logger.LogDebug("Updating pause log entry for {Resource} starting at {StartTimestamp} with end of {EndTimestamp}.", subscription.Resource.Name, pause.StartTime, timestamp);
999viewModel.SelectedResource = _resources.GetResource(Logger, r.Name, canSelectGrouping: false, fallback: _allResource);
1035], Logger);