1 write to _logger
aspire (1)
Commands\UpdateCommand.cs (1)
59
_logger
= logger;
10 references to _logger
aspire (10)
Commands\UpdateCommand.cs (10)
309
_logger
.LogDebug("Cleared global channel setting for stable channel");
314
_logger
.LogDebug("Saved global channel setting: {Channel}", channel);
379
_logger
.LogDebug("Creating backup: {BackupPath}", backupPath);
401
_logger
.LogDebug("Testing new CLI executable and displaying version");
424
_logger
.LogWarning("Update failed, restoring backup");
479
_logger
.LogWarning(ex, "Failed to set executable permission on {FilePath}", filePath);
540
_logger
.LogDebug("Deleted old backup file: {BackupFile}", backupFile);
544
_logger
.LogDebug(ex, "Failed to delete old backup file: {BackupFile}", backupFile);
550
_logger
.LogDebug(ex, "Failed to cleanup old backup files for: {TargetExePath}", targetExePath);
565
_logger
.LogWarning(ex, "Failed to clean up directory {Directory}", directory);