1 write to _logger
aspire (1)
Commands\UpdateCommand.cs (1)
56
_logger
= logger;
10 references to _logger
aspire (10)
Commands\UpdateCommand.cs (10)
287
_logger
.LogDebug("Saved global channel setting: {Channel}", channel);
298
_logger
.LogError(ex, "Failed to update CLI");
340
_logger
.LogDebug("Creating backup: {BackupPath}", backupPath);
362
_logger
.LogDebug("Testing new CLI executable and displaying version");
381
_logger
.LogWarning("Update failed, restoring backup");
449
_logger
.LogWarning(ex, "Failed to set executable permission on {FilePath}", filePath);
510
_logger
.LogDebug("Deleted old backup file: {BackupFile}", backupFile);
514
_logger
.LogDebug(ex, "Failed to delete old backup file: {BackupFile}", backupFile);
520
_logger
.LogDebug(ex, "Failed to cleanup old backup files for: {TargetExePath}", targetExePath);
535
_logger
.LogWarning(ex, "Failed to clean up directory {Directory}", directory);