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);
922
_logger
.LogError("{Language} apphost exited with code {ExitCode}", DisplayName, guestExitCode);
991
_logger
.LogError(ex, "Code generation failed for {Language} AppHost", DisplayName);
998
_logger
.LogError(ex, "Failed to run {Language} AppHost", DisplayName);
1057
_logger
.LogInformation(
1063
_logger
.LogError(
1076
_logger
.LogError(
1084
_logger
.LogInformation(
1093
_logger
.LogInformation(
1115
StandardOutputCallback = line =>
_logger
.LogInformation("[npm install: {Name}] {Line}", name, line),
1116
StandardErrorCallback = line =>
_logger
.LogWarning("[npm install: {Name}] {Line}", name, line)
1118
_logger
.LogInformation("Installing dependencies for integration host '{Name}': {Command} install (cwd: {Directory}).", name, npmPath, hostDir);
1123
var scope = new ProcessScope(execution,
_logger
, $"npm install: {name}");
1143
_logger
.LogError(
1153
_logger
.LogError("`npm install` for integration host '{Name}' failed with exit code {ExitCode} (cwd: {Directory}).", name, exitCode, hostDir);
1156
_logger
.LogInformation("Installed dependencies for integration host '{Name}'; process scope cleanup completed.", name);
1274
_logger
.LogWarning(ex, "Failed to load config for launch profiles from {Directory}", configDir.FullName);
1285
_logger
.LogDebug("No aspire.config.json, apphost.run.json, or launchSettings.json found in {Path}", directory.FullName);
1291
_logger
.LogDebug("Reading launch settings from {ConfigPath}", configPath);
1347
_logger
.LogDebug("Read {Count} environment variables from {ConfigPath}", result.Count, configPath);
1352
_logger
.LogWarning(ex, "Failed to read {ConfigPath}", configPath);
1396
_logger
.LogDebug("Read {Count} environment variables from aspire.config.json", result.Count);
1406
_logger
.LogDebug("Publishing guest AppHost: {AppHostFile}", appHostFile.FullName);
1612
_logger
.LogError("{Language} apphost exited with code {ExitCode}", DisplayName, guestExitCode);
1650
_logger
.LogError(ex, "Failed to publish {Language} AppHost", DisplayName);
1727
_logger
.LogDebug("Starting backchannel connection to AppHost server at {SocketPath}", socketPath);
1733
_logger
.LogTrace("Attempting to connect to AppHost server backchannel at {SocketPath} (attempt {Attempt})", socketPath, connectionAttempts);
1743
_logger
.LogDebug("Connected to AppHost server backchannel at {SocketPath}", socketPath);
1753
_logger
.LogDebug("AppHost server process has exited with code {ExitCode}. Unable to connect to backchannel at {SocketPath}", knownExitCode, socketPath);
1757
_logger
.LogDebug("AppHost server process has exited before its exit code was available. Unable to connect to backchannel at {SocketPath}", socketPath);
1780
_logger
.LogError("Timed out waiting for AppHost server to start after {Timeout} seconds", connectionTimeout.TotalSeconds);
1805
_logger
.LogDebug("Backchannel connection to AppHost server cancelled during shutdown.");
1810
_logger
.LogError(ex, "Failed to connect to AppHost server backchannel");
1890
_logger
.LogWarning(ex, "Failed to check for SDK version updates");
1922
_logger
.LogWarning(ex, "Failed to check for updates to package {PackageId}", packageId);
2062
_logger
);
2096
_logger
.LogDebug("Generating {CodeGenerator} code via RPC for {Count} packages", codeGenerator, integrationsList.Count);
2152
_logger
.LogInformation("Generated {Count} {CodeGenerator} files in {Path} ({WrittenCount} changed)",
2260
_logger
.LogDebug(ex, "Failed to evaluate CLI/SDK version skew prior to code generation.");
2305
_logger
.LogDebug(
2312
_logger
.LogDebug(
2499
var toolchain = TypeScriptAppHostToolchainResolver.Resolve(directory, _environment,
_logger
);
2504
var resolution = JavaAppHostToolchainResolver.Resolve(directory,
_logger
);
2516
_logger
,
2523
_logger
.LogDebug("Created GuestRuntime for {RuntimeDisplayName}: Execute={Command} {Args}",
2723
CertificateCacheWriter.WriteFile(bundlePath, bundleContents,
_logger
);
2731
_logger
.LogWarning(ex, "Failed to combine {EnvironmentVariableName} bundle {ExistingBundlePath} with the Aspire development certificate", environmentVariableName, existingCertificateBundle);