NLog Rules and Filters: Routing Logs in .NET
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.


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.
Welcome to another issue of Dev Leader Weekly! In this issue, I discuss why moving beyond senior engineer is hard and what career success can look like.
This week covers NLog setup, targets, layout renderers, and structured logging in .NET. Plus, explore OpenTelemetry distributed tracing and practical career questions about difficult peers and what comes after senior engineer.
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.