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)
188
WriteVersion(
_logger
);
189
WriteValidationFailures(
_logger
, _validationFailures);
357
WriteVersion(
_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.");
431
LoggingHelpers.WriteDashboardUrl(
_logger
, frontendEndpointInfo.GetResolvedAddress(replaceIPAnyWithLocalhost: true), options.Frontend.BrowserToken, isContainer);
445
_logger
.LogError(ex, "Error initializing telemetry service.");