1 write to _logger
aspire (1)
Projects\GuestAppHostProject.cs (1)
103
_logger
= logger;
43 references to _logger
aspire (43)
Projects\GuestAppHostProject.cs (43)
107
_runningInstanceManager = new RunningInstanceManager(
_logger
, _interactionService, _timeProvider, _profilingTelemetry);
140
_logger
.LogDebug("Using SDK version from configuration: {Version}", configuredVersion);
145
_logger
.LogDebug("Using default SDK version: {Version}", defaultSdkVersion);
239
_logger
.LogInformation("Loaded config from {Directory} (file exists: {Exists})", configDir.FullName, AspireConfigFile.Exists(configDir.FullName));
244
_logger
.LogError(ex, "Failed to load configuration from {Directory}", configDir.FullName);
373
_logger
.LogDebug("AppHost file {File} does not exist", appHostFile.FullName);
381
_logger
.LogDebug("AppHost file {File} does not match {Language} detection patterns: {Patterns}",
388
_logger
.LogDebug("Validated {Language} AppHost: {File}", _resolvedLanguage.DisplayName, appHostFile.FullName);
398
_logger
.LogDebug("Running {Language} AppHost: {AppHostFile}", DisplayName, appHostFile.FullName);
723
_logger
.LogError("{Language} apphost exited with code {ExitCode}", DisplayName, guestExitCode);
792
_logger
.LogError(ex, "Code generation failed for {Language} AppHost", DisplayName);
799
_logger
.LogError(ex, "Failed to run {Language} AppHost", DisplayName);
940
_logger
.LogWarning(ex, "Failed to load config for launch profiles from {Directory}", configDir.FullName);
951
_logger
.LogDebug("No aspire.config.json, apphost.run.json, or launchSettings.json found in {Path}", directory.FullName);
957
_logger
.LogDebug("Reading launch settings from {ConfigPath}", configPath);
1013
_logger
.LogDebug("Read {Count} environment variables from {ConfigPath}", result.Count, configPath);
1018
_logger
.LogWarning(ex, "Failed to read {ConfigPath}", configPath);
1062
_logger
.LogDebug("Read {Count} environment variables from aspire.config.json", result.Count);
1072
_logger
.LogDebug("Publishing guest AppHost: {AppHostFile}", appHostFile.FullName);
1240
_logger
.LogError("{Language} apphost exited with code {ExitCode}", DisplayName, guestExitCode);
1277
_logger
.LogError(ex, "Failed to publish {Language} AppHost", DisplayName);
1335
_logger
.LogDebug("Starting backchannel connection to AppHost server at {SocketPath}", socketPath);
1341
_logger
.LogTrace("Attempting to connect to AppHost server backchannel at {SocketPath} (attempt {Attempt})", socketPath, connectionAttempts);
1351
_logger
.LogDebug("Connected to AppHost server backchannel at {SocketPath}", socketPath);
1366
_logger
.LogDebug("AppHost server process has exited with code {ExitCode}. Unable to connect to backchannel at {SocketPath}", knownExitCode, socketPath);
1370
_logger
.LogDebug("AppHost server process has exited before its exit code was available. Unable to connect to backchannel at {SocketPath}", socketPath);
1393
_logger
.LogError("Timed out waiting for AppHost server to start after {Timeout} seconds", connectionTimeout.TotalSeconds);
1418
_logger
.LogDebug("Backchannel connection to AppHost server cancelled during shutdown.");
1423
_logger
.LogError(ex, "Failed to connect to AppHost server backchannel");
1493
_logger
.LogWarning(ex, "Failed to check for SDK version updates");
1516
_logger
.LogWarning(ex, "Failed to check for updates to package {PackageId}", packageId);
1625
_logger
);
1659
_logger
.LogDebug("Generating {CodeGenerator} code via RPC for {Count} packages", codeGenerator, integrationsList.Count);
1715
_logger
.LogInformation("Generated {Count} {CodeGenerator} files in {Path} ({WrittenCount} changed)",
1826
_logger
.LogDebug(ex, "Failed to evaluate CLI/SDK version skew prior to code generation.");
1885
_logger
.LogDebug(
1892
_logger
.LogDebug(
2079
var toolchain = TypeScriptAppHostToolchainResolver.Resolve(directory, _environment,
_logger
);
2084
var resolution = JavaAppHostToolchainResolver.Resolve(directory,
_logger
);
2096
_logger
,
2102
_logger
.LogDebug("Created GuestRuntime for {RuntimeDisplayName}: Execute={Command} {Args}",
2302
CertificateCacheWriter.WriteFile(bundlePath, bundleContents,
_logger
);
2310
_logger
.LogWarning(ex, "Failed to combine {EnvironmentVariableName} bundle {ExistingBundlePath} with the Aspire development certificate", environmentVariableName, existingCertificateBundle);