1 write to _logger
aspire (1)
Commands\UpdateCommand.cs (1)
62
_logger
= logger;
10 references to _logger
aspire (10)
Commands\UpdateCommand.cs (10)
313
_logger
.LogDebug("Cleared global channel setting for stable channel");
318
_logger
.LogDebug("Saved global channel setting: {Channel}", channel);
383
_logger
.LogDebug("Creating backup: {BackupPath}", backupPath);
405
_logger
.LogDebug("Testing new CLI executable and displaying version");
428
_logger
.LogWarning("Update failed, restoring backup");
483
_logger
.LogWarning(ex, "Failed to set executable permission on {FilePath}", filePath);
544
_logger
.LogDebug("Deleted old backup file: {BackupFile}", backupFile);
548
_logger
.LogDebug(ex, "Failed to delete old backup file: {BackupFile}", backupFile);
554
_logger
.LogDebug(ex, "Failed to cleanup old backup files for: {TargetExePath}", targetExePath);
569
_logger
.LogWarning(ex, "Failed to clean up directory {Directory}", directory);