title: Use Serilog with Microsoft.Extensions.Logging.ILogger
body: <p>I've created a .NET Core 3.1 project using a Host, the IoC container with <code>IServiceCollection</code> and implemented logging allover the place using the <code>ILogger&lt;T&gt;</code> interface from <code>Microsoft.Extensions.Logging</code>. I now need to implement more advanced logging and decided to use Serilog.</p>
  <p>I assumed that it would be a breeze to switch from .NET built-in loggers to Serilog. But to my surprise, Serilog is using it's own <code>ILogger</code> interface - bummer! So now I needed to update ALL places to use Serilog <code>ILogger</code>, or to implement Serilog with a .NET Core <code>ILogger&lt;T&gt;</code> interface.</p>
  <p>My question is - is it really not possible to use Serilog with the ILogger interface in <code>Microsoft.Extensions.Logging</code>? Would be so much smarter!</p>