1 write to _logger
aspire (1)
Projects\GuestAppHostProject.cs (1)
113
_logger
= logger;
56 references to _logger
aspire (56)
Projects\GuestAppHostProject.cs (56)
117
_runningInstanceManager = new RunningInstanceManager(
_logger
, _interactionService, _timeProvider, _profilingTelemetry);
150
_logger
.LogDebug("Using SDK version from configuration: {Version}", configuredVersion);
155
_logger
.LogDebug("Using default SDK version: {Version}", defaultSdkVersion);
278
_logger
.LogInformation("Loaded config from {Directory} (file exists: {Exists})", configDir.FullName, AspireConfigFile.Exists(configDir.FullName));
283
_logger
.LogError(ex, "Failed to load configuration from {Directory}", configDir.FullName);
432
_logger
.LogDebug("Regenerating SDK after bootstrapping npm integration host dependencies.");
529
_logger
.LogDebug("AppHost file {File} does not exist", appHostFile.FullName);
537
_logger
.LogDebug("AppHost file {File} does not match {Language} detection patterns: {Patterns}",
544
_logger
.LogDebug("Validated {Language} AppHost: {File}", _resolvedLanguage.DisplayName, appHostFile.FullName);
554
_logger
.LogDebug("Running {Language} AppHost: {AppHostFile}", DisplayName, appHostFile.FullName);
926
_logger
.LogError("{Language} apphost exited with code {ExitCode}", DisplayName, guestExitCode);
995
_logger
.LogError(ex, "Code generation failed for {Language} AppHost", DisplayName);
1002
_logger
.LogError(ex, "Failed to run {Language} AppHost", DisplayName);
1061
_logger
.LogInformation(
1067
_logger
.LogError(
1080
_logger
.LogError(
1088
_logger
.LogInformation(
1097
_logger
.LogInformation(
1119
StandardOutputCallback = line =>
_logger
.LogInformation("[npm install: {Name}] {Line}", name, line),
1120
StandardErrorCallback = line =>
_logger
.LogWarning("[npm install: {Name}] {Line}", name, line)
1122
_logger
.LogInformation("Installing dependencies for integration host '{Name}': {Command} install (cwd: {Directory}).", name, npmPath, hostDir);
1127
var scope = new ProcessScope(execution,
_logger
, $"npm install: {name}");
1147
_logger
.LogError(
1157
_logger
.LogError("`npm install` for integration host '{Name}' failed with exit code {ExitCode} (cwd: {Directory}).", name, exitCode, hostDir);
1160
_logger
.LogInformation("Installed dependencies for integration host '{Name}'; process scope cleanup completed.", name);
1278
_logger
.LogWarning(ex, "Failed to load config for launch profiles from {Directory}", configDir.FullName);
1289
_logger
.LogDebug("No aspire.config.json, apphost.run.json, or launchSettings.json found in {Path}", directory.FullName);
1295
_logger
.LogDebug("Reading launch settings from {ConfigPath}", configPath);
1351
_logger
.LogDebug("Read {Count} environment variables from {ConfigPath}", result.Count, configPath);
1356
_logger
.LogWarning(ex, "Failed to read {ConfigPath}", configPath);
1400
_logger
.LogDebug("Read {Count} environment variables from aspire.config.json", result.Count);
1410
_logger
.LogDebug("Publishing guest AppHost: {AppHostFile}", appHostFile.FullName);
1616
_logger
.LogError("{Language} apphost exited with code {ExitCode}", DisplayName, guestExitCode);
1654
_logger
.LogError(ex, "Failed to publish {Language} AppHost", DisplayName);
1731
_logger
.LogDebug("Starting backchannel connection to AppHost server at {SocketPath}", socketPath);
1737
_logger
.LogTrace("Attempting to connect to AppHost server backchannel at {SocketPath} (attempt {Attempt})", socketPath, connectionAttempts);
1747
_logger
.LogDebug("Connected to AppHost server backchannel at {SocketPath}", socketPath);
1757
_logger
.LogDebug("AppHost server process has exited with code {ExitCode}. Unable to connect to backchannel at {SocketPath}", knownExitCode, socketPath);
1761
_logger
.LogDebug("AppHost server process has exited before its exit code was available. Unable to connect to backchannel at {SocketPath}", socketPath);
1784
_logger
.LogError("Timed out waiting for AppHost server to start after {Timeout} seconds", connectionTimeout.TotalSeconds);
1809
_logger
.LogDebug("Backchannel connection to AppHost server cancelled during shutdown.");
1814
_logger
.LogError(ex, "Failed to connect to AppHost server backchannel");
1894
_logger
.LogWarning(ex, "Failed to check for SDK version updates");
1926
_logger
.LogWarning(ex, "Failed to check for updates to package {PackageId}", packageId);
2066
_logger
);
2100
_logger
.LogDebug("Generating {CodeGenerator} code via RPC for {Count} packages", codeGenerator, integrationsList.Count);
2156
_logger
.LogInformation("Generated {Count} {CodeGenerator} files in {Path} ({WrittenCount} changed)",
2264
_logger
.LogDebug(ex, "Failed to evaluate CLI/SDK version skew prior to code generation.");
2309
_logger
.LogDebug(
2316
_logger
.LogDebug(
2503
var toolchain = TypeScriptAppHostToolchainResolver.Resolve(directory, _environment,
_logger
);
2508
var resolution = JavaAppHostToolchainResolver.Resolve(directory,
_logger
);
2520
_logger
,
2527
_logger
.LogDebug("Created GuestRuntime for {RuntimeDisplayName}: Execute={Command} {Args}",
2727
CertificateCacheWriter.WriteFile(bundlePath, bundleContents,
_logger
);
2735
_logger
.LogWarning(ex, "Failed to combine {EnvironmentVariableName} bundle {ExistingBundlePath} with the Aspire development certificate", environmentVariableName, existingCertificateBundle);