1 write to _logger
Aspire.Hosting (1)
Exec\ExecResourceManager.cs (1)
32_logger = logger ?? throw new ArgumentNullException(nameof(logger));
7 references to _logger
Aspire.Hosting (7)
Exec\ExecResourceManager.cs (7)
65_logger.LogInformation("Cancelled before exec resource was initialized."); 70_logger.LogError(execResourceInitializationException, "Exec resource initialization failed."); 152_logger.LogError("Target resource '{ResourceName}' not found in the model resources.", _execOptions.ResourceName); 158_logger.LogDebug("Resource '{ResourceName}' has been successfully built and added to the model resources.", execResource.Name); 164_logger.LogError(ex, "Failed to create exec resource."); 206_logger.LogDebug("Exec resource '{ResourceName}' will wait until project '{Project}' starts up.", execResourceName, project.Name); 210_logger.LogDebug("Exec resource '{ResourceName}' will run command '{Command}' with {ArgsCount} args '{Args}'.", execResourceName, exe, args?.Length ?? 0, string.Join(' ', args ?? []));