1 write to _logger
aspire (1)
Commands\UpdateCommand.cs (1)
59
_logger
= logger;
10 references to _logger
aspire (10)
Commands\UpdateCommand.cs (10)
307
_logger
.LogDebug("Cleared global channel setting for stable channel");
312
_logger
.LogDebug("Saved global channel setting: {Channel}", channel);
369
_logger
.LogDebug("Creating backup: {BackupPath}", backupPath);
391
_logger
.LogDebug("Testing new CLI executable and displaying version");
414
_logger
.LogWarning("Update failed, restoring backup");
469
_logger
.LogWarning(ex, "Failed to set executable permission on {FilePath}", filePath);
530
_logger
.LogDebug("Deleted old backup file: {BackupFile}", backupFile);
534
_logger
.LogDebug(ex, "Failed to delete old backup file: {BackupFile}", backupFile);
540
_logger
.LogDebug(ex, "Failed to cleanup old backup files for: {TargetExePath}", targetExePath);
555
_logger
.LogWarning(ex, "Failed to clean up directory {Directory}", directory);