Programmatically monitoring and reacting to resource logs in .NET Aspire

Combining IDistributedApplicationLifecycleHook, ResourceNotificationService, and ResourceLoggerService allows you to react to any changes in resources and their logs.
More available at: https://anthonysimmon.com/programmatically-monitoring-reacting-resource-logs-dotnet-aspire/
Learn more about .NET Aspire Sample Code at aspireify.NET