1 write to _logger
aspire (1)
Commands\UpdateCommand.cs (1)
57
_logger
= logger;
11 references to _logger
aspire (11)
Commands\UpdateCommand.cs (11)
299
_logger
.LogDebug("Cleared global channel setting for stable channel");
304
_logger
.LogDebug("Saved global channel setting: {Channel}", channel);
316
_logger
.LogError(ex, "Failed to update CLI");
360
_logger
.LogDebug("Creating backup: {BackupPath}", backupPath);
382
_logger
.LogDebug("Testing new CLI executable and displaying version");
401
_logger
.LogWarning("Update failed, restoring backup");
474
_logger
.LogWarning(ex, "Failed to set executable permission on {FilePath}", filePath);
535
_logger
.LogDebug("Deleted old backup file: {BackupFile}", backupFile);
539
_logger
.LogDebug(ex, "Failed to delete old backup file: {BackupFile}", backupFile);
545
_logger
.LogDebug(ex, "Failed to cleanup old backup files for: {TargetExePath}", targetExePath);
560
_logger
.LogWarning(ex, "Failed to clean up directory {Directory}", directory);