1 write to _logger
aspire (1)
Projects\GuestAppHostProject.cs (1)
79_logger = logger;
39 references to _logger
aspire (39)
Projects\GuestAppHostProject.cs (39)
82_runningInstanceManager = new RunningInstanceManager(_logger, _interactionService, _timeProvider); 109_logger.LogDebug("Using SDK version from configuration: {Version}", configuredVersion); 113_logger.LogDebug("Using default SDK version: {Version}", DotNetBasedAppHostServerProject.DefaultSdkVersion); 202_logger.LogInformation("Loaded config from {Directory} (file exists: {Exists})", configDir.FullName, AspireConfigFile.Exists(configDir.FullName)); 207_logger.LogError(ex, "Failed to load configuration from {Directory}", configDir.FullName); 292_logger.LogDebug(ex, "Error killing AppHost server process after code generation"); 318_logger.LogDebug("AppHost file {File} does not exist", appHostFile.FullName); 326_logger.LogDebug("AppHost file {File} does not match {Language} detection patterns: {Patterns}", 333_logger.LogDebug("Validated {Language} AppHost: {File}", _resolvedLanguage.DisplayName, appHostFile.FullName); 343_logger.LogDebug("Running {Language} AppHost: {AppHostFile}", DisplayName, appHostFile.FullName); 465_logger.LogDebug(ex, "Error killing AppHost server process after dependency install failure"); 529_logger.LogError("{Language} apphost exited with code {ExitCode}", DisplayName, guestExitCode); 550_logger.LogDebug(ex, "Error killing AppHost server process after {Language} failure", DisplayName); 567_logger.LogDebug(ex, "Error killing AppHost server process"); 586_logger.LogError(ex, "Failed to run {Language} AppHost", DisplayName); 621_logger.LogWarning(ex, "Failed to load config for launch profiles from {Directory}", configDir.FullName); 632_logger.LogDebug("No aspire.config.json, apphost.run.json, or launchSettings.json found in {Path}", directory.FullName); 638_logger.LogDebug("Reading launch settings from {ConfigPath}", configPath); 694_logger.LogDebug("Read {Count} environment variables from {ConfigPath}", result.Count, configPath); 699_logger.LogWarning(ex, "Failed to read {ConfigPath}", configPath); 743_logger.LogDebug("Read {Count} environment variables from aspire.config.json", result.Count); 753_logger.LogDebug("Publishing guest AppHost: {AppHostFile}", appHostFile.FullName); 829_logger.LogDebug(ex, "Error killing AppHost server process after dependency install failure"); 861_logger.LogError("{Language} apphost exited with code {ExitCode}", DisplayName, guestExitCode); 882_logger.LogDebug(ex, "Error killing AppHost server process after {Language} failure", DisplayName); 898_logger.LogDebug(ex, "Error killing AppHost server process"); 916_logger.LogError(ex, "Failed to publish {Language} AppHost", DisplayName); 949_logger.LogDebug("Starting backchannel connection to AppHost server at {SocketPath}", socketPath); 955_logger.LogTrace("Attempting to connect to AppHost server backchannel at {SocketPath} (attempt {Attempt})", socketPath, ++connectionAttempts); 959_logger.LogDebug("Connected to AppHost server backchannel at {SocketPath}", socketPath); 964_logger.LogError("AppHost server process has exited. Unable to connect to backchannel at {SocketPath}", socketPath); 976_logger.LogError("Timed out waiting for AppHost server to start after {Timeout} seconds", ConnectionTimeoutSeconds); 994_logger.LogError(ex, "Failed to connect to AppHost server backchannel"); 1057_logger.LogWarning(ex, "Failed to check for SDK version updates"); 1080_logger.LogWarning(ex, "Failed to check for updates to package {PackageId}", packageId); 1202_logger.LogDebug("Generating {CodeGenerator} code via RPC for {Count} packages", codeGenerator, integrationsList.Count); 1225_logger.LogInformation("Generated {Count} {CodeGenerator} files in {Path}", 1282_guestRuntime = new GuestRuntime(runtimeSpec, _logger, _fileLoggerProvider); 1284_logger.LogDebug("Created GuestRuntime for {Language}: Execute={Command} {Args}",