1 write to _logger
aspire (1)
Projects\GuestAppHostProject.cs (1)
101_logger = logger;
43 references to _logger
aspire (43)
Projects\GuestAppHostProject.cs (43)
105_runningInstanceManager = new RunningInstanceManager(_logger, _interactionService, _timeProvider, _profilingTelemetry); 138_logger.LogDebug("Using SDK version from configuration: {Version}", configuredVersion); 143_logger.LogDebug("Using default SDK version: {Version}", defaultSdkVersion); 237_logger.LogInformation("Loaded config from {Directory} (file exists: {Exists})", configDir.FullName, AspireConfigFile.Exists(configDir.FullName)); 242_logger.LogError(ex, "Failed to load configuration from {Directory}", configDir.FullName); 366_logger.LogDebug("AppHost file {File} does not exist", appHostFile.FullName); 374_logger.LogDebug("AppHost file {File} does not match {Language} detection patterns: {Patterns}", 381_logger.LogDebug("Validated {Language} AppHost: {File}", _resolvedLanguage.DisplayName, appHostFile.FullName); 391_logger.LogDebug("Running {Language} AppHost: {AppHostFile}", DisplayName, appHostFile.FullName); 710_logger.LogError("{Language} apphost exited with code {ExitCode}", DisplayName, guestExitCode); 772_logger.LogError(ex, "Code generation failed for {Language} AppHost", DisplayName); 779_logger.LogError(ex, "Failed to run {Language} AppHost", DisplayName); 920_logger.LogWarning(ex, "Failed to load config for launch profiles from {Directory}", configDir.FullName); 931_logger.LogDebug("No aspire.config.json, apphost.run.json, or launchSettings.json found in {Path}", directory.FullName); 937_logger.LogDebug("Reading launch settings from {ConfigPath}", configPath); 993_logger.LogDebug("Read {Count} environment variables from {ConfigPath}", result.Count, configPath); 998_logger.LogWarning(ex, "Failed to read {ConfigPath}", configPath); 1042_logger.LogDebug("Read {Count} environment variables from aspire.config.json", result.Count); 1052_logger.LogDebug("Publishing guest AppHost: {AppHostFile}", appHostFile.FullName); 1214_logger.LogError("{Language} apphost exited with code {ExitCode}", DisplayName, guestExitCode); 1251_logger.LogError(ex, "Failed to publish {Language} AppHost", DisplayName); 1309_logger.LogDebug("Starting backchannel connection to AppHost server at {SocketPath}", socketPath); 1315_logger.LogTrace("Attempting to connect to AppHost server backchannel at {SocketPath} (attempt {Attempt})", socketPath, connectionAttempts); 1325_logger.LogDebug("Connected to AppHost server backchannel at {SocketPath}", socketPath); 1340_logger.LogDebug("AppHost server process has exited with code {ExitCode}. Unable to connect to backchannel at {SocketPath}", knownExitCode, socketPath); 1344_logger.LogDebug("AppHost server process has exited before its exit code was available. Unable to connect to backchannel at {SocketPath}", socketPath); 1367_logger.LogError("Timed out waiting for AppHost server to start after {Timeout} seconds", connectionTimeout.TotalSeconds); 1392_logger.LogDebug("Backchannel connection to AppHost server cancelled during shutdown."); 1397_logger.LogError(ex, "Failed to connect to AppHost server backchannel"); 1467_logger.LogWarning(ex, "Failed to check for SDK version updates"); 1490_logger.LogWarning(ex, "Failed to check for updates to package {PackageId}", packageId); 1599_logger); 1633_logger.LogDebug("Generating {CodeGenerator} code via RPC for {Count} packages", codeGenerator, integrationsList.Count); 1689_logger.LogInformation("Generated {Count} {CodeGenerator} files in {Path} ({WrittenCount} changed)", 1800_logger.LogDebug(ex, "Failed to evaluate CLI/SDK version skew prior to code generation."); 1859_logger.LogDebug( 1866_logger.LogDebug( 2052var toolchain = TypeScriptAppHostToolchainResolver.Resolve(directory, _environment, _logger); 2057var resolution = JavaAppHostToolchainResolver.Resolve(directory, _logger); 2063_guestRuntime = new GuestRuntime(runtimeSpec, _logger, PathLookupHelper.FindFullPathFromPath, _environment, _profilingTelemetry, _fileLoggerProvider); 2065_logger.LogDebug("Created GuestRuntime for {RuntimeDisplayName}: Execute={Command} {Args}", 2264CertificateCacheWriter.WriteFile(bundlePath, bundleContents, _logger); 2272_logger.LogWarning(ex, "Failed to combine {EnvironmentVariableName} bundle {ExistingBundlePath} with the Aspire development certificate", environmentVariableName, existingCertificateBundle);