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( 2079var toolchain = TypeScriptAppHostToolchainResolver.Resolve(directory, _environment, _logger); 2084var resolution = JavaAppHostToolchainResolver.Resolve(directory, _logger); 2096_logger, 2102_logger.LogDebug("Created GuestRuntime for {RuntimeDisplayName}: Execute={Command} {Args}", 2302CertificateCacheWriter.WriteFile(bundlePath, bundleContents, _logger); 2310_logger.LogWarning(ex, "Failed to combine {EnvironmentVariableName} bundle {ExistingBundlePath} with the Aspire development certificate", environmentVariableName, existingCertificateBundle);