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