I am unable to get my own logger to log when using DI in Azure Functions. I have attached a very simple project which does not work. I have tried using Serilog (as in the attached example) or without it. Neither logs anything.
Additionally, I would like to use a non-generic ILogger, but that causes the DI container to crash with a unable to create an ILogger instance. (Unable to resolve ILogger from Microsoft.Extensions.Logging)
[1]: /answers/storage/attachments/115059-function1cs.txt
[2]: /answers/storage/attachments/115103-hostjson.txt
[3]: /answers/storage/attachments/115048-localsettingsjson.txt
[4]: /answers/storage/attachments/115064-startupcs.txt