1 write to _logger
aspire (1)
Projects\GuestAppHostProject.cs (1)
112_logger = logger;
56 references to _logger
aspire (56)
Projects\GuestAppHostProject.cs (56)
116_runningInstanceManager = new RunningInstanceManager(_logger, _interactionService, _timeProvider, _profilingTelemetry); 149_logger.LogDebug("Using SDK version from configuration: {Version}", configuredVersion); 154_logger.LogDebug("Using default SDK version: {Version}", defaultSdkVersion); 254_logger.LogInformation("Loaded config from {Directory} (file exists: {Exists})", configDir.FullName, AspireConfigFile.Exists(configDir.FullName)); 259_logger.LogError(ex, "Failed to load configuration from {Directory}", configDir.FullName); 373_logger.LogDebug("Regenerating SDK after bootstrapping npm integration host dependencies."); 466_logger.LogDebug("AppHost file {File} does not exist", appHostFile.FullName); 474_logger.LogDebug("AppHost file {File} does not match {Language} detection patterns: {Patterns}", 481_logger.LogDebug("Validated {Language} AppHost: {File}", _resolvedLanguage.DisplayName, appHostFile.FullName); 491_logger.LogDebug("Running {Language} AppHost: {AppHostFile}", DisplayName, appHostFile.FullName); 842_logger.LogError("{Language} apphost exited with code {ExitCode}", DisplayName, guestExitCode); 911_logger.LogError(ex, "Code generation failed for {Language} AppHost", DisplayName); 918_logger.LogError(ex, "Failed to run {Language} AppHost", DisplayName); 977_logger.LogInformation( 983_logger.LogError( 996_logger.LogError( 1004_logger.LogInformation( 1013_logger.LogInformation( 1035StandardOutputCallback = line => _logger.LogInformation("[npm install: {Name}] {Line}", name, line), 1036StandardErrorCallback = line => _logger.LogWarning("[npm install: {Name}] {Line}", name, line) 1038_logger.LogInformation("Installing dependencies for integration host '{Name}': {Command} install (cwd: {Directory}).", name, npmPath, hostDir); 1043var scope = new ProcessScope(execution, _logger, $"npm install: {name}"); 1063_logger.LogError( 1073_logger.LogError("`npm install` for integration host '{Name}' failed with exit code {ExitCode} (cwd: {Directory}).", name, exitCode, hostDir); 1076_logger.LogInformation("Installed dependencies for integration host '{Name}'; process scope cleanup completed.", name); 1194_logger.LogWarning(ex, "Failed to load config for launch profiles from {Directory}", configDir.FullName); 1205_logger.LogDebug("No aspire.config.json, apphost.run.json, or launchSettings.json found in {Path}", directory.FullName); 1211_logger.LogDebug("Reading launch settings from {ConfigPath}", configPath); 1267_logger.LogDebug("Read {Count} environment variables from {ConfigPath}", result.Count, configPath); 1272_logger.LogWarning(ex, "Failed to read {ConfigPath}", configPath); 1316_logger.LogDebug("Read {Count} environment variables from aspire.config.json", result.Count); 1326_logger.LogDebug("Publishing guest AppHost: {AppHostFile}", appHostFile.FullName); 1520_logger.LogError("{Language} apphost exited with code {ExitCode}", DisplayName, guestExitCode); 1558_logger.LogError(ex, "Failed to publish {Language} AppHost", DisplayName); 1616_logger.LogDebug("Starting backchannel connection to AppHost server at {SocketPath}", socketPath); 1622_logger.LogTrace("Attempting to connect to AppHost server backchannel at {SocketPath} (attempt {Attempt})", socketPath, connectionAttempts); 1632_logger.LogDebug("Connected to AppHost server backchannel at {SocketPath}", socketPath); 1642_logger.LogDebug("AppHost server process has exited with code {ExitCode}. Unable to connect to backchannel at {SocketPath}", knownExitCode, socketPath); 1646_logger.LogDebug("AppHost server process has exited before its exit code was available. Unable to connect to backchannel at {SocketPath}", socketPath); 1669_logger.LogError("Timed out waiting for AppHost server to start after {Timeout} seconds", connectionTimeout.TotalSeconds); 1694_logger.LogDebug("Backchannel connection to AppHost server cancelled during shutdown."); 1699_logger.LogError(ex, "Failed to connect to AppHost server backchannel"); 1769_logger.LogWarning(ex, "Failed to check for SDK version updates"); 1800_logger.LogWarning(ex, "Failed to check for updates to package {PackageId}", packageId); 1929_logger); 1963_logger.LogDebug("Generating {CodeGenerator} code via RPC for {Count} packages", codeGenerator, integrationsList.Count); 2019_logger.LogInformation("Generated {Count} {CodeGenerator} files in {Path} ({WrittenCount} changed)", 2127_logger.LogDebug(ex, "Failed to evaluate CLI/SDK version skew prior to code generation."); 2172_logger.LogDebug( 2179_logger.LogDebug( 2366var toolchain = TypeScriptAppHostToolchainResolver.Resolve(directory, _environment, _logger); 2371var resolution = JavaAppHostToolchainResolver.Resolve(directory, _logger); 2383_logger, 2390_logger.LogDebug("Created GuestRuntime for {RuntimeDisplayName}: Execute={Command} {Args}", 2590CertificateCacheWriter.WriteFile(bundlePath, bundleContents, _logger); 2598_logger.LogWarning(ex, "Failed to combine {EnvironmentVariableName} bundle {ExistingBundlePath} with the Aspire development certificate", environmentVariableName, existingCertificateBundle);