When comparing NLog vs Serilog, the Slant community recommends NLog for most people. In the question“What are the best .NET logging frameworks?” NLog is ranked 1st while Serilog is ranked 2nd. The most important reason people chose NLog is:
The config file is fairly easy to understand and modify without having to pore over pages and pages of documentation.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Easily configurable
The config file is fairly easy to understand and modify without having to pore over pages and pages of documentation.
Pro Easy to set up
Getting starting with NLog is quick and you can be up and running in a matter of minutes by following the official Getting Started tutorial.
Pro Supports Semantic Logging
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
Cons
Con Documentation is distributed among plugins
Determining what logger, formatter, option is more difficult because documentation is associated with each component.