1 write to Logger
Aspire.Hosting (1)
Orchestrator\ApplicationOrchestrator.cs (1)
454Logger = _loggerService.GetLogger(resource)
6 references to Logger
Aspire.Hosting (5)
ApplicationModel\ResourceUrlsCallbackContext.cs (1)
77internal LogFacade Log => new(() => Logger);
ResourceBuilderExtensions.cs (4)
2516context.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); 2562context.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); 2604context.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); 2616context.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)
109.WithUrls(c => logger = c.Logger)