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 ?? []));