1 write to _logger
aspire (1)
Projects\GuestAppHostProject.cs (1)
113_logger = logger;
56 references to _logger
aspire (56)
Projects\GuestAppHostProject.cs (56)
117_runningInstanceManager = new RunningInstanceManager(_logger, _interactionService, _timeProvider, _profilingTelemetry); 150_logger.LogDebug("Using SDK version from configuration: {Version}", configuredVersion); 155_logger.LogDebug("Using default SDK version: {Version}", defaultSdkVersion); 278_logger.LogInformation("Loaded config from {Directory} (file exists: {Exists})", configDir.FullName, AspireConfigFile.Exists(configDir.FullName)); 283_logger.LogError(ex, "Failed to load configuration from {Directory}", configDir.FullName); 432_logger.LogDebug("Regenerating SDK after bootstrapping npm integration host dependencies."); 529_logger.LogDebug("AppHost file {File} does not exist", appHostFile.FullName); 537_logger.LogDebug("AppHost file {File} does not match {Language} detection patterns: {Patterns}", 544_logger.LogDebug("Validated {Language} AppHost: {File}", _resolvedLanguage.DisplayName, appHostFile.FullName); 554_logger.LogDebug("Running {Language} AppHost: {AppHostFile}", DisplayName, appHostFile.FullName); 922_logger.LogError("{Language} apphost exited with code {ExitCode}", DisplayName, guestExitCode); 991_logger.LogError(ex, "Code generation failed for {Language} AppHost", DisplayName); 998_logger.LogError(ex, "Failed to run {Language} AppHost", DisplayName); 1057_logger.LogInformation( 1063_logger.LogError( 1076_logger.LogError( 1084_logger.LogInformation( 1093_logger.LogInformation( 1115StandardOutputCallback = line => _logger.LogInformation("[npm install: {Name}] {Line}", name, line), 1116StandardErrorCallback = line => _logger.LogWarning("[npm install: {Name}] {Line}", name, line) 1118_logger.LogInformation("Installing dependencies for integration host '{Name}': {Command} install (cwd: {Directory}).", name, npmPath, hostDir); 1123var scope = new ProcessScope(execution, _logger, $"npm install: {name}"); 1143_logger.LogError( 1153_logger.LogError("`npm install` for integration host '{Name}' failed with exit code {ExitCode} (cwd: {Directory}).", name, exitCode, hostDir); 1156_logger.LogInformation("Installed dependencies for integration host '{Name}'; process scope cleanup completed.", name); 1274_logger.LogWarning(ex, "Failed to load config for launch profiles from {Directory}", configDir.FullName); 1285_logger.LogDebug("No aspire.config.json, apphost.run.json, or launchSettings.json found in {Path}", directory.FullName); 1291_logger.LogDebug("Reading launch settings from {ConfigPath}", configPath); 1347_logger.LogDebug("Read {Count} environment variables from {ConfigPath}", result.Count, configPath); 1352_logger.LogWarning(ex, "Failed to read {ConfigPath}", configPath); 1396_logger.LogDebug("Read {Count} environment variables from aspire.config.json", result.Count); 1406_logger.LogDebug("Publishing guest AppHost: {AppHostFile}", appHostFile.FullName); 1612_logger.LogError("{Language} apphost exited with code {ExitCode}", DisplayName, guestExitCode); 1650_logger.LogError(ex, "Failed to publish {Language} AppHost", DisplayName); 1727_logger.LogDebug("Starting backchannel connection to AppHost server at {SocketPath}", socketPath); 1733_logger.LogTrace("Attempting to connect to AppHost server backchannel at {SocketPath} (attempt {Attempt})", socketPath, connectionAttempts); 1743_logger.LogDebug("Connected to AppHost server backchannel at {SocketPath}", socketPath); 1753_logger.LogDebug("AppHost server process has exited with code {ExitCode}. Unable to connect to backchannel at {SocketPath}", knownExitCode, socketPath); 1757_logger.LogDebug("AppHost server process has exited before its exit code was available. Unable to connect to backchannel at {SocketPath}", socketPath); 1780_logger.LogError("Timed out waiting for AppHost server to start after {Timeout} seconds", connectionTimeout.TotalSeconds); 1805_logger.LogDebug("Backchannel connection to AppHost server cancelled during shutdown."); 1810_logger.LogError(ex, "Failed to connect to AppHost server backchannel"); 1890_logger.LogWarning(ex, "Failed to check for SDK version updates"); 1922_logger.LogWarning(ex, "Failed to check for updates to package {PackageId}", packageId); 2062_logger); 2096_logger.LogDebug("Generating {CodeGenerator} code via RPC for {Count} packages", codeGenerator, integrationsList.Count); 2152_logger.LogInformation("Generated {Count} {CodeGenerator} files in {Path} ({WrittenCount} changed)", 2260_logger.LogDebug(ex, "Failed to evaluate CLI/SDK version skew prior to code generation."); 2305_logger.LogDebug( 2312_logger.LogDebug( 2499var toolchain = TypeScriptAppHostToolchainResolver.Resolve(directory, _environment, _logger); 2504var resolution = JavaAppHostToolchainResolver.Resolve(directory, _logger); 2516_logger, 2523_logger.LogDebug("Created GuestRuntime for {RuntimeDisplayName}: Execute={Command} {Args}", 2723CertificateCacheWriter.WriteFile(bundlePath, bundleContents, _logger); 2731_logger.LogWarning(ex, "Failed to combine {EnvironmentVariableName} bundle {ExistingBundlePath} with the Aspire development certificate", environmentVariableName, existingCertificateBundle);