Serilog 2 Enrichers: Getting Common Information into Log Entries
Supercharge your log entries for your ASP.NET Core applications using Serilog Enrichers. We'll cover standard enrichers and custom enrichers for HttpContext information. All without cluttering application code!
What you'll learn
Serilog is a powerful logging framework for .NET applications, but many log entries still miss critically important pieces of information needed to fully analyze or troubleshoot problems. In this course, Serilog Enrichers: Getting Common Information into Log Entries, you will learn foundational knowledge of leveraging Serilog enrichers for ASP.Net Core web projects. First, you will learn standard enrichers for things like the machine name and assembly information. Next, you will discover custom enrichment that includes information from the HttpContext to support information regarding the query string and logged-in users - both in API and MVC websites. Finally we'll look at custom enrichment and exception details. When you’re finished with this course, you will have the skills and knowledge of Serilog enrichers needed to supercharge your own ASP.NET Core applications with awesomely consistent log entries.
Table of contents
- Version Check 0m
- Introduction and Project Overview 3m
- Enrichers Defined 1m
- Project Walkthrough - No Enrichment 7m
- Exceuting the Applications 2m
- No Enrichment - Log Review 4m
- Adding Standard Enrichers 2m
- Standard Enrichment - Log Review 2m
- Implementing Custom HttpContext Enrichment 6m
- HttpContext Enrichment - Log Review 2m
- Improving Exception Details 1m
- Exception Details - Log Review 1m
- Summary 1m