1 write to _logger
aspire (1)
Projects\GuestAppHostProject.cs (1)
101
_logger
= logger;
43 references to _logger
aspire (43)
Projects\GuestAppHostProject.cs (43)
105
_runningInstanceManager = new RunningInstanceManager(
_logger
, _interactionService, _timeProvider, _profilingTelemetry);
138
_logger
.LogDebug("Using SDK version from configuration: {Version}", configuredVersion);
143
_logger
.LogDebug("Using default SDK version: {Version}", defaultSdkVersion);
237
_logger
.LogInformation("Loaded config from {Directory} (file exists: {Exists})", configDir.FullName, AspireConfigFile.Exists(configDir.FullName));
242
_logger
.LogError(ex, "Failed to load configuration from {Directory}", configDir.FullName);
366
_logger
.LogDebug("AppHost file {File} does not exist", appHostFile.FullName);
374
_logger
.LogDebug("AppHost file {File} does not match {Language} detection patterns: {Patterns}",
381
_logger
.LogDebug("Validated {Language} AppHost: {File}", _resolvedLanguage.DisplayName, appHostFile.FullName);
391
_logger
.LogDebug("Running {Language} AppHost: {AppHostFile}", DisplayName, appHostFile.FullName);
710
_logger
.LogError("{Language} apphost exited with code {ExitCode}", DisplayName, guestExitCode);
772
_logger
.LogError(ex, "Code generation failed for {Language} AppHost", DisplayName);
779
_logger
.LogError(ex, "Failed to run {Language} AppHost", DisplayName);
920
_logger
.LogWarning(ex, "Failed to load config for launch profiles from {Directory}", configDir.FullName);
931
_logger
.LogDebug("No aspire.config.json, apphost.run.json, or launchSettings.json found in {Path}", directory.FullName);
937
_logger
.LogDebug("Reading launch settings from {ConfigPath}", configPath);
993
_logger
.LogDebug("Read {Count} environment variables from {ConfigPath}", result.Count, configPath);
998
_logger
.LogWarning(ex, "Failed to read {ConfigPath}", configPath);
1042
_logger
.LogDebug("Read {Count} environment variables from aspire.config.json", result.Count);
1052
_logger
.LogDebug("Publishing guest AppHost: {AppHostFile}", appHostFile.FullName);
1214
_logger
.LogError("{Language} apphost exited with code {ExitCode}", DisplayName, guestExitCode);
1251
_logger
.LogError(ex, "Failed to publish {Language} AppHost", DisplayName);
1309
_logger
.LogDebug("Starting backchannel connection to AppHost server at {SocketPath}", socketPath);
1315
_logger
.LogTrace("Attempting to connect to AppHost server backchannel at {SocketPath} (attempt {Attempt})", socketPath, connectionAttempts);
1325
_logger
.LogDebug("Connected to AppHost server backchannel at {SocketPath}", socketPath);
1340
_logger
.LogDebug("AppHost server process has exited with code {ExitCode}. Unable to connect to backchannel at {SocketPath}", knownExitCode, socketPath);
1344
_logger
.LogDebug("AppHost server process has exited before its exit code was available. Unable to connect to backchannel at {SocketPath}", socketPath);
1367
_logger
.LogError("Timed out waiting for AppHost server to start after {Timeout} seconds", connectionTimeout.TotalSeconds);
1392
_logger
.LogDebug("Backchannel connection to AppHost server cancelled during shutdown.");
1397
_logger
.LogError(ex, "Failed to connect to AppHost server backchannel");
1467
_logger
.LogWarning(ex, "Failed to check for SDK version updates");
1490
_logger
.LogWarning(ex, "Failed to check for updates to package {PackageId}", packageId);
1599
_logger
);
1633
_logger
.LogDebug("Generating {CodeGenerator} code via RPC for {Count} packages", codeGenerator, integrationsList.Count);
1689
_logger
.LogInformation("Generated {Count} {CodeGenerator} files in {Path} ({WrittenCount} changed)",
1800
_logger
.LogDebug(ex, "Failed to evaluate CLI/SDK version skew prior to code generation.");
1859
_logger
.LogDebug(
1866
_logger
.LogDebug(
2052
var toolchain = TypeScriptAppHostToolchainResolver.Resolve(directory, _environment,
_logger
);
2057
var resolution = JavaAppHostToolchainResolver.Resolve(directory,
_logger
);
2063
_guestRuntime = new GuestRuntime(runtimeSpec,
_logger
, PathLookupHelper.FindFullPathFromPath, _environment, _profilingTelemetry, _fileLoggerProvider);
2065
_logger
.LogDebug("Created GuestRuntime for {RuntimeDisplayName}: Execute={Command} {Args}",
2264
CertificateCacheWriter.WriteFile(bundlePath, bundleContents,
_logger
);
2272
_logger
.LogWarning(ex, "Failed to combine {EnvironmentVariableName} bundle {ExistingBundlePath} with the Aspire development certificate", environmentVariableName, existingCertificateBundle);