2 writes to _logger
Aspire.Dashboard (2)
DashboardWebApplication.cs (2)
186_logger = GetLogger(); 346_logger = GetLogger();
12 references to _logger
Aspire.Dashboard (12)
DashboardWebApplication.cs (12)
188WriteVersion(_logger); 189WriteValidationFailures(_logger, _validationFailures); 357WriteVersion(_logger); 380_logger.LogInformation("Now listening on: {DashboardUri}", frontendEndpointInfo.GetResolvedAddress()); 386_logger.LogInformation("OTLP/gRPC listening on: {OtlpEndpointUri}", _otlpServiceGrpcEndPointAccessor().GetResolvedAddress()); 391_logger.LogInformation("OTLP/HTTP listening on: {OtlpEndpointUri}", _otlpServiceHttpEndPointAccessor().GetResolvedAddress()); 396_logger.LogInformation("MCP listening on: {McpEndpointUri}", _mcpEndPointAccessor().GetResolvedAddress()); 403_logger.LogWarning("OTLP server is unsecured. Untrusted apps can send telemetry to the dashboard. For more information, visit https://go.microsoft.com/fwlink/?linkid=2267030"); 410_logger.LogWarning("MCP server is unsecured. Untrusted apps can access sensitive information."); 418_logger.LogWarning("Dashboard API is unsecured. Untrusted apps can access sensitive telemetry data."); 431LoggingHelpers.WriteDashboardUrl(_logger, frontendEndpointInfo.GetResolvedAddress(replaceIPAnyWithLocalhost: true), options.Frontend.BrowserToken, isContainer); 445_logger.LogError(ex, "Error initializing telemetry service.");