I have my host initialized as below for a .NET 8 ASP.NET Core service
return WebHost.CreateDefaultBuilder(args) .UseStartup<Startup>();
I am not able to find a suitable extension method for Serilog. Is there a way to use the UseSerilog
extension method with Webhost
?
I have checked the online documentation and nothing was found with WebHost