Serilog is a diagnostic logging library for .NET applications that runs on all recent .NET platforms.
Read What every ASP.NET Core Web API project needs - Part 1 - Serilog.
Read Serilog vs log4net.
Ranked in these QuestionsQuestion Ranking
Pro Can log structured data
Pro Flexible configuration options
Configuring directly or using appsettings is fairly and there are many examples available.
Pro Multiple extensions
You can easily configure it to log into Console / File / Seq / ElasticSearch / etc.
Pro Log Enricher and Log Context features
Easily and extensibly enrich your log messages with contextual information such as thread or request ID.
Pro Is portable between recent .NET platforms
Con Documentation is distributed among plugins
Determining what logger, formatter, option is more difficult because documentation is associated with each component.