1 write to _logger
aspire (1)
Layout\LayoutDiscovery.cs (1)
42_logger = logger;
29 references to _logger
aspire (29)
Layout\LayoutDiscovery.cs (29)
51_logger.LogDebug("Found ASPIRE_LAYOUT_PATH: {Path}", envLayoutPath); 63_logger.LogDebug("Discovered layout relative to CLI: {Path}", relativeLayout.LayoutPath); 67_logger.LogDebug("No bundle layout discovered"); 100_logger.LogDebug("SDK mode forced via {EnvVar}", BundleDiscovery.UseGlobalDotNetEnvVar); 116_logger.LogDebug("TryLoadLayoutFromPath: {Path}", layoutPath); 120_logger.LogDebug("Layout path does not exist: {Path}", layoutPath); 124_logger.LogDebug("Layout path exists, checking directory structure..."); 130_logger.LogDebug("Layout directory contents: {Contents}", string.Join(", ", entries)); 134_logger.LogDebug("Could not list directory contents: {Error}", ex.Message); 147_logger.LogDebug("TryDiscoverRelativeLayout: ProcessPath is null or empty"); 154_logger.LogDebug("TryDiscoverRelativeLayout: Could not get directory from ProcessPath"); 158_logger.LogDebug("TryDiscoverRelativeLayout: CLI at {Path}, checking for layout...", cliDir); 174_logger.LogDebug("TryDiscoverRelativeLayout: Checking parent directory {Path}...", parentDir); 193_logger.LogDebug("TryInferLayout: Checking layout at {Path}", layoutPath); 194_logger.LogDebug(" {Dir}/: {Exists}", BundleDiscovery.RuntimeDirectoryName, Directory.Exists(runtimePath) ? "exists" : "MISSING"); 195_logger.LogDebug(" {Dir}/: {Exists}", BundleDiscovery.DashboardDirectoryName, Directory.Exists(dashboardPath) ? "exists" : "MISSING"); 196_logger.LogDebug(" {Dir}/: {Exists}", BundleDiscovery.DcpDirectoryName, Directory.Exists(dcpPath) ? "exists" : "MISSING"); 197_logger.LogDebug(" {Dir}/: {Exists}", BundleDiscovery.AppHostServerDirectoryName, Directory.Exists(serverPath) ? "exists" : "MISSING"); 202_logger.LogDebug("TryInferLayout: Layout rejected - missing required directories"); 209_logger.LogDebug(" runtime/{Muxer}: {Exists}", muxerName, File.Exists(muxerPath) ? "exists" : "MISSING"); 213_logger.LogDebug("TryInferLayout: Layout rejected - muxer not found"); 217_logger.LogDebug("TryInferLayout: Layout is valid"); 234_logger.LogDebug("Runtime path override from {EnvVar}", BundleDiscovery.RuntimePathEnvVar); 238_logger.LogDebug("DCP path override from {EnvVar}", BundleDiscovery.DcpPathEnvVar); 242_logger.LogDebug("Dashboard path override from {EnvVar}", BundleDiscovery.DashboardPathEnvVar); 254_logger.LogDebug("Layout validation failed: muxer not found at {Path}", muxerPath); 262_logger.LogDebug("Layout validation failed: AppHostServer not found at {Path}", serverPath); 270_logger.LogDebug("Layout validation failed: DCP not found"); 277_logger.LogDebug("Layout validation failed: Dashboard not found");