Simple play icon Course
Skills

Routing Serilog 2 Log Entries with Filters and Formatters

by Erik Dahl

Enable fast and easy log analysis in your ASP.NET Core applications by using Serilog to route entries to the right place (sink) and get them formatted to eliminate noise. Become a logging super-hero in ASP.NET Core with this course!

What you'll learn

In this course, Routing Serilog Log Entries with Filters and Formatters, you will learn foundational knowledge to get ASP.NET Core log entries written WHERE you want and formatted HOW you want. First, you will learn to use Serilog filters and sub-loggers to route entries to a sink of your choosing. Next, you will discover sink options and how they can fine-tune entries. Finally, you will explore how to create your own custom formatters to get log entries written precisely as you want. When you’re finished with this course, you will have the skills and knowledge of Serilog routing and formatting needed to supercharge your ASP.NET Core logging.

About the author

Erik Dahl has been developing software and architecture for 20+ years, mostly doing in-house development for his employers. His recent work has included a multi-tenant B2B implementation and self-registration B2C implementation for Duende IdentityServer, upgrading legacy ASP.NET websites from server-side technologies to a client/server mix and adopting TypeScript, building Web APIs as the back end for mobile and web applications, and finding ways to modernize existing applications and make them ... more

Ready to upskill? Get started