2 writes to _logger
Aspire.Dashboard (2)
DashboardWebApplication.cs (2)
185
_logger
= GetLogger();
334
_logger
= GetLogger();
11 references to _logger
Aspire.Dashboard (11)
DashboardWebApplication.cs (11)
187
WriteVersion(
_logger
);
188
WriteValidationFailures(
_logger
, _validationFailures);
345
WriteVersion(
_logger
);
368
_logger
.LogInformation("Now listening on: {DashboardUri}", frontendEndpointInfo.GetResolvedAddress());
374
_logger
.LogInformation("OTLP/gRPC listening on: {OtlpEndpointUri}", _otlpServiceGrpcEndPointAccessor().GetResolvedAddress());
379
_logger
.LogInformation("OTLP/HTTP listening on: {OtlpEndpointUri}", _otlpServiceHttpEndPointAccessor().GetResolvedAddress());
384
_logger
.LogInformation("MCP listening on: {McpEndpointUri}", _mcpEndPointAccessor().GetResolvedAddress());
389
_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");
394
_logger
.LogWarning("MCP server is unsecured. Untrusted apps can access sensitive information.");
407
LoggingHelpers.WriteDashboardUrl(
_logger
, frontendEndpointInfo.GetResolvedAddress(replaceIPAnyWithLocalhost: true), options.Frontend.BrowserToken, isContainer);
421
_logger
.LogError(ex, "Error initializing telemetry service.");