1 write to _logger
aspire (1)
Commands\UpdateCommand.cs (1)
62
_logger
= logger;
10 references to _logger
aspire (10)
Commands\UpdateCommand.cs (10)
300
_logger
.LogDebug("Cleared global channel setting for stable channel");
305
_logger
.LogDebug("Saved global channel setting: {Channel}", channel);
362
_logger
.LogDebug("Creating backup: {BackupPath}", backupPath);
384
_logger
.LogDebug("Testing new CLI executable and displaying version");
403
_logger
.LogWarning("Update failed, restoring backup");
476
_logger
.LogWarning(ex, "Failed to set executable permission on {FilePath}", filePath);
537
_logger
.LogDebug("Deleted old backup file: {BackupFile}", backupFile);
541
_logger
.LogDebug(ex, "Failed to delete old backup file: {BackupFile}", backupFile);
547
_logger
.LogDebug(ex, "Failed to cleanup old backup files for: {TargetExePath}", targetExePath);
562
_logger
.LogWarning(ex, "Failed to clean up directory {Directory}", directory);