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); 926_logger.LogError("{Language} apphost exited with code {ExitCode}", DisplayName, guestExitCode); 995_logger.LogError(ex, "Code generation failed for {Language} AppHost", DisplayName); 1002_logger.LogError(ex, "Failed to run {Language} AppHost", DisplayName); 1061_logger.LogInformation( 1067_logger.LogError( 1080_logger.LogError( 1088_logger.LogInformation( 1097_logger.LogInformation( 1119StandardOutputCallback = line => _logger.LogInformation("[npm install: {Name}] {Line}", name, line), 1120StandardErrorCallback = line => _logger.LogWarning("[npm install: {Name}] {Line}", name, line) 1122_logger.LogInformation("Installing dependencies for integration host '{Name}': {Command} install (cwd: {Directory}).", name, npmPath, hostDir); 1127var scope = new ProcessScope(execution, _logger, $"npm install: {name}"); 1147_logger.LogError( 1157_logger.LogError("`npm install` for integration host '{Name}' failed with exit code {ExitCode} (cwd: {Directory}).", name, exitCode, hostDir); 1160_logger.LogInformation("Installed dependencies for integration host '{Name}'; process scope cleanup completed.", name); 1278_logger.LogWarning(ex, "Failed to load config for launch profiles from {Directory}", configDir.FullName); 1289_logger.LogDebug("No aspire.config.json, apphost.run.json, or launchSettings.json found in {Path}", directory.FullName); 1295_logger.LogDebug("Reading launch settings from {ConfigPath}", configPath); 1351_logger.LogDebug("Read {Count} environment variables from {ConfigPath}", result.Count, configPath); 1356_logger.LogWarning(ex, "Failed to read {ConfigPath}", configPath); 1400_logger.LogDebug("Read {Count} environment variables from aspire.config.json", result.Count); 1410_logger.LogDebug("Publishing guest AppHost: {AppHostFile}", appHostFile.FullName); 1616_logger.LogError("{Language} apphost exited with code {ExitCode}", DisplayName, guestExitCode); 1654_logger.LogError(ex, "Failed to publish {Language} AppHost", DisplayName); 1731_logger.LogDebug("Starting backchannel connection to AppHost server at {SocketPath}", socketPath); 1737_logger.LogTrace("Attempting to connect to AppHost server backchannel at {SocketPath} (attempt {Attempt})", socketPath, connectionAttempts); 1747_logger.LogDebug("Connected to AppHost server backchannel at {SocketPath}", socketPath); 1757_logger.LogDebug("AppHost server process has exited with code {ExitCode}. Unable to connect to backchannel at {SocketPath}", knownExitCode, socketPath); 1761_logger.LogDebug("AppHost server process has exited before its exit code was available. Unable to connect to backchannel at {SocketPath}", socketPath); 1784_logger.LogError("Timed out waiting for AppHost server to start after {Timeout} seconds", connectionTimeout.TotalSeconds); 1809_logger.LogDebug("Backchannel connection to AppHost server cancelled during shutdown."); 1814_logger.LogError(ex, "Failed to connect to AppHost server backchannel"); 1894_logger.LogWarning(ex, "Failed to check for SDK version updates"); 1926_logger.LogWarning(ex, "Failed to check for updates to package {PackageId}", packageId); 2066_logger); 2100_logger.LogDebug("Generating {CodeGenerator} code via RPC for {Count} packages", codeGenerator, integrationsList.Count); 2156_logger.LogInformation("Generated {Count} {CodeGenerator} files in {Path} ({WrittenCount} changed)", 2264_logger.LogDebug(ex, "Failed to evaluate CLI/SDK version skew prior to code generation."); 2309_logger.LogDebug( 2316_logger.LogDebug( 2503var toolchain = TypeScriptAppHostToolchainResolver.Resolve(directory, _environment, _logger); 2508var resolution = JavaAppHostToolchainResolver.Resolve(directory, _logger); 2520_logger, 2527_logger.LogDebug("Created GuestRuntime for {RuntimeDisplayName}: Execute={Command} {Args}", 2727CertificateCacheWriter.WriteFile(bundlePath, bundleContents, _logger); 2735_logger.LogWarning(ex, "Failed to combine {EnvironmentVariableName} bundle {ExistingBundlePath} with the Aspire development certificate", environmentVariableName, existingCertificateBundle);