Using .Net 5 WPF, Serilog and PrismLibrary 8 with Unity Can someone please guide me in the right direction so I can inject Microsoft.Extensions.Logging.ILogger into ViewModels etc. I have found many snippets, but all fails on some point or another. I prefer using Microsoft.Extensions.Logging.ILogger for flexibility in coice of logging provider.