In Program.cs of .NET Core 3.1 we use ConfigureApiLogging to AddFilters()...
What I'm wondering is if there is a pattern to later get at that configuration to add additional filters? Some things we add dynamically depending upon the microservice and as those new services are added we'd like to have filters automatically included in our logging.
So: Is there any way to add additional filters to .NET Core logging after initial configuration?
2.1m questions
2.1m answers
60 comments
57.0k users