I would like to add to Serilog logs Function Name property. Function Name can be extracted from Execution Context which is available via Dependency Injection. And the best way to add it would be Enricher.
The only way that I find to use DI with Enrichers is by .UseSerilog but it can't be used in Azure Startup class.
So do you have any idea how this might be accomplished?