1 write to _logger
aspire (1)
Commands\UpdateCommand.cs (1)
53
_logger
= logger;
9 references to _logger
aspire (9)
Commands\UpdateCommand.cs (9)
249
_logger
.LogError(ex, "Failed to update CLI");
291
_logger
.LogDebug("Creating backup: {BackupPath}", backupPath);
313
_logger
.LogDebug("Testing new CLI executable and displaying version");
332
_logger
.LogWarning("Update failed, restoring backup");
400
_logger
.LogWarning(ex, "Failed to set executable permission on {FilePath}", filePath);
461
_logger
.LogDebug("Deleted old backup file: {BackupFile}", backupFile);
465
_logger
.LogDebug(ex, "Failed to delete old backup file: {BackupFile}", backupFile);
471
_logger
.LogDebug(ex, "Failed to cleanup old backup files for: {TargetExePath}", targetExePath);
486
_logger
.LogWarning(ex, "Failed to clean up directory {Directory}", directory);