How-to inject ILogger using Serilog?
kiquenet opened this issue · comments
Kiquenet commented
Not ILogger appear in Program.cs
(ILogger<IProductsRepository> logger)
Sample Serilog NET 6 minimal API: https://www.anmalkov.com/blog/use-serilog-with-minimal-api-or-aspnet-6
Joe Stead commented
The sample you've linked will work with Carter without any issues