1 write to Logger
Aspire.Hosting (1)
Orchestrator\ApplicationOrchestrator.cs (1)
456Logger = _loggerService.GetLogger(resource)
6 references to Logger
Aspire.Hosting (5)
ApplicationModel\ResourceUrlsCallbackContext.cs (1)
77internal LogFacade Log => new(() => Logger);
ResourceBuilderExtensions.cs (4)
2266context.Logger.LogWarning("Could not execute callback to customize endpoint URL as no endpoint with name '{EndpointName}' could be found on resource '{ResourceName}'.", endpointName, builder.Resource.Name); 2312context.Logger.LogWarning("Could not execute callback to add an endpoint URL as no endpoint with name '{EndpointName}' could be found on resource '{ResourceName}'.", endpointName, builder.Resource.Name); 2354context.Logger.LogWarning("Could not execute callback to customize endpoint URL as no URL for endpoint '{EndpointName}' could be found on resource '{ResourceName}'.", endpoint.EndpointName, builder.Resource.Name); 2366context.Logger.LogWarning("Could not execute callback to add an endpoint URL as no endpoint with name '{EndpointName}' could be found on resource '{ResourceName}'.", endpoint.EndpointName, endpoint.Resource.Name);
Aspire.Hosting.Tests (1)
WithUrlsTests.cs (1)
88.WithUrls(c => logger = c.Logger)