1 write to _logger
aspire (1)
Projects\GuestAppHostProject.cs (1)
112
_logger
= logger;
56 references to _logger
aspire (56)
Projects\GuestAppHostProject.cs (56)
116
_runningInstanceManager = new RunningInstanceManager(
_logger
, _interactionService, _timeProvider, _profilingTelemetry);
149
_logger
.LogDebug("Using SDK version from configuration: {Version}", configuredVersion);
154
_logger
.LogDebug("Using default SDK version: {Version}", defaultSdkVersion);
254
_logger
.LogInformation("Loaded config from {Directory} (file exists: {Exists})", configDir.FullName, AspireConfigFile.Exists(configDir.FullName));
259
_logger
.LogError(ex, "Failed to load configuration from {Directory}", configDir.FullName);
373
_logger
.LogDebug("Regenerating SDK after bootstrapping npm integration host dependencies.");
466
_logger
.LogDebug("AppHost file {File} does not exist", appHostFile.FullName);
474
_logger
.LogDebug("AppHost file {File} does not match {Language} detection patterns: {Patterns}",
481
_logger
.LogDebug("Validated {Language} AppHost: {File}", _resolvedLanguage.DisplayName, appHostFile.FullName);
491
_logger
.LogDebug("Running {Language} AppHost: {AppHostFile}", DisplayName, appHostFile.FullName);
842
_logger
.LogError("{Language} apphost exited with code {ExitCode}", DisplayName, guestExitCode);
911
_logger
.LogError(ex, "Code generation failed for {Language} AppHost", DisplayName);
918
_logger
.LogError(ex, "Failed to run {Language} AppHost", DisplayName);
977
_logger
.LogInformation(
983
_logger
.LogError(
996
_logger
.LogError(
1004
_logger
.LogInformation(
1013
_logger
.LogInformation(
1035
StandardOutputCallback = line =>
_logger
.LogInformation("[npm install: {Name}] {Line}", name, line),
1036
StandardErrorCallback = line =>
_logger
.LogWarning("[npm install: {Name}] {Line}", name, line)
1038
_logger
.LogInformation("Installing dependencies for integration host '{Name}': {Command} install (cwd: {Directory}).", name, npmPath, hostDir);
1043
var scope = new ProcessScope(execution,
_logger
, $"npm install: {name}");
1063
_logger
.LogError(
1073
_logger
.LogError("`npm install` for integration host '{Name}' failed with exit code {ExitCode} (cwd: {Directory}).", name, exitCode, hostDir);
1076
_logger
.LogInformation("Installed dependencies for integration host '{Name}'; process scope cleanup completed.", name);
1194
_logger
.LogWarning(ex, "Failed to load config for launch profiles from {Directory}", configDir.FullName);
1205
_logger
.LogDebug("No aspire.config.json, apphost.run.json, or launchSettings.json found in {Path}", directory.FullName);
1211
_logger
.LogDebug("Reading launch settings from {ConfigPath}", configPath);
1267
_logger
.LogDebug("Read {Count} environment variables from {ConfigPath}", result.Count, configPath);
1272
_logger
.LogWarning(ex, "Failed to read {ConfigPath}", configPath);
1316
_logger
.LogDebug("Read {Count} environment variables from aspire.config.json", result.Count);
1326
_logger
.LogDebug("Publishing guest AppHost: {AppHostFile}", appHostFile.FullName);
1520
_logger
.LogError("{Language} apphost exited with code {ExitCode}", DisplayName, guestExitCode);
1558
_logger
.LogError(ex, "Failed to publish {Language} AppHost", DisplayName);
1616
_logger
.LogDebug("Starting backchannel connection to AppHost server at {SocketPath}", socketPath);
1622
_logger
.LogTrace("Attempting to connect to AppHost server backchannel at {SocketPath} (attempt {Attempt})", socketPath, connectionAttempts);
1632
_logger
.LogDebug("Connected to AppHost server backchannel at {SocketPath}", socketPath);
1642
_logger
.LogDebug("AppHost server process has exited with code {ExitCode}. Unable to connect to backchannel at {SocketPath}", knownExitCode, socketPath);
1646
_logger
.LogDebug("AppHost server process has exited before its exit code was available. Unable to connect to backchannel at {SocketPath}", socketPath);
1669
_logger
.LogError("Timed out waiting for AppHost server to start after {Timeout} seconds", connectionTimeout.TotalSeconds);
1694
_logger
.LogDebug("Backchannel connection to AppHost server cancelled during shutdown.");
1699
_logger
.LogError(ex, "Failed to connect to AppHost server backchannel");
1769
_logger
.LogWarning(ex, "Failed to check for SDK version updates");
1800
_logger
.LogWarning(ex, "Failed to check for updates to package {PackageId}", packageId);
1929
_logger
);
1963
_logger
.LogDebug("Generating {CodeGenerator} code via RPC for {Count} packages", codeGenerator, integrationsList.Count);
2019
_logger
.LogInformation("Generated {Count} {CodeGenerator} files in {Path} ({WrittenCount} changed)",
2127
_logger
.LogDebug(ex, "Failed to evaluate CLI/SDK version skew prior to code generation.");
2172
_logger
.LogDebug(
2179
_logger
.LogDebug(
2366
var toolchain = TypeScriptAppHostToolchainResolver.Resolve(directory, _environment,
_logger
);
2371
var resolution = JavaAppHostToolchainResolver.Resolve(directory,
_logger
);
2383
_logger
,
2390
_logger
.LogDebug("Created GuestRuntime for {RuntimeDisplayName}: Execute={Command} {Args}",
2590
CertificateCacheWriter.WriteFile(bundlePath, bundleContents,
_logger
);
2598
_logger
.LogWarning(ex, "Failed to combine {EnvironmentVariableName} bundle {ExistingBundlePath} with the Aspire development certificate", environmentVariableName, existingCertificateBundle);