NLog vs Serilog in .NET: Which Should You Choose?
Compare NLog vs Serilog in .NET to choose the right logging library. Covers configuration style, structured logging, performance, rules routing, sinks vs targets, and migration guidance.
Logging and observability guides for .NET developers, covering Serilog sinks and enrichers, structured logging patterns, and choosing the right approach.
Showing 1–6 of 18 articles
Compare NLog vs Serilog in .NET to choose the right logging library. Covers configuration style, structured logging, performance, rules routing, sinks vs targets, and migration guidance.
Optimize NLog performance in .NET with AsyncWrapper, BufferingWrapper, and high-throughput logging patterns. Includes benchmarks, async configuration, and production tuning tips.
Learn how NLog rules and filters work in .NET. Covers rule matching by logger name and level, final rules, writeTo routing, when filters, and silencing noisy Microsoft.* logs.
Master NLog layout renderers and structured logging in C#. Learn how to use JsonLayout, message templates, MDC correlation IDs, and custom layout renderers with real .NET examples.
Deep dive into NLog targets in .NET. Learn how to configure File, Console, Database, Seq, and custom targets with real C# examples for ASP.NET Core and Worker Services.
Master NLog in .NET with this complete guide. Learn targets, rules, layout renderers, structured logging, and performance optimization for C# applications.