1 write to _logger
aspire (1)
Commands\UpdateCommand.cs (1)
48
_logger
= logger;
9 references to _logger
aspire (9)
Commands\UpdateCommand.cs (9)
172
_logger
.LogError(ex, "Failed to update CLI");
214
_logger
.LogDebug("Creating backup: {BackupPath}", backupPath);
236
_logger
.LogDebug("Testing new CLI executable and displaying version");
255
_logger
.LogWarning("Update failed, restoring backup");
323
_logger
.LogWarning(ex, "Failed to set executable permission on {FilePath}", filePath);
384
_logger
.LogDebug("Deleted old backup file: {BackupFile}", backupFile);
388
_logger
.LogDebug(ex, "Failed to delete old backup file: {BackupFile}", backupFile);
394
_logger
.LogDebug(ex, "Failed to cleanup old backup files for: {TargetExePath}", targetExePath);
409
_logger
.LogWarning(ex, "Failed to clean up directory {Directory}", directory);