What problem does it solve?
Serilog skill helps you configure reliable, structured logging so your .NET apps produce queryable events instead of noisy, unstructured strings that are hard to troubleshoot in production.
Core Features & Use Cases
- Two-stage initialization to capture startup failures with a bootstrap logger, then switch to the full configured logger once DI is ready.
- Structured logging with message templates and enrichment using LogContext, environment/machine enrichers, and request diagnostics for correlation.
- Configurable sinks, destructuring, and filtering via appsettings.json and Serilog.Expressions so you can route and control logs per environment (console, rolling files, Seq, OTLP).
Quick Start
Configure Serilog in your ASP.NET Core app using AddSerilog with appsettings.json, add Serilog request logging, and ensure logs use message templates with structured properties and safe destructuring limits.