I have a function app project where i have a mix of my code, some Azure storage interaction, some durable functions, entity framework, the whole soup. I want to be able to configure logs properly to hide irrelevant records. But the problem is that the default console logger doesn't output the Category
of this or that log message so that I could add a corresponding filter in my host.json
file. There is a possibility to add the "fileLoggingMode": "always"
setting but that doesn't really help because it doesn't output the category either.
I assume one could simply deploy it to Azure and then grab the category from the AppInsights, but isn't there any locally available option which doesn't involve deployment?
Environment: .net7, function v4, dotnet-isolated.
UPD: just for clarity basically i wanna see a logger category for each of these log lines