Description
Course info
Rating
(14)
Level
Intermediate
Updated
Apr 9, 2019
Duration
1h 1m
Description

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
About the author

Full-stack developer, architect using the Microsoft stack and other key tools to create awesome solutions.

More from the author
Effective Logging in ASP.NET Core
Intermediate
2h 27m
Jul 26, 2019
More courses by Erik Dahl
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone. My name is Erik Dahl, and welcome to my course, Routing Serilog Entries with Filters and Formatters. I'm a principal architect at RealPage, and I'm passionate about logging. Being able to consume log entries in useful ways implies that entries are organized in a logical way and are formatted in a way to facilitate the consumption. Failing to organize and format entries can leave them noisy and hard to find at best and borderline useless at worst. In this course, we're going to explore Serilog filters and formatters and how you can use them in your ASP.NET Core projects to route log entries to the correct destination for sink and how to get those entries formatted for the simplest possible consumption. Some of the major topics that we'll cover include using Serilog filters and sub-loggers to route entries based on the properties in the entry, using available sink options to do some simple optimization about how entries get formatted, and creating custom formatters to get entries written exactly the way you want. By the end of this course, you'll know how to leverage Serilog filters and formatters within your own ASP.NET Core applications to get log entries written where you want and how you want. Before _____ .NET Core applications, you should be familiar with basic Serilog and ASP.NET Core concepts. I hope you'll join me on this journey to learn about routing your log entries with the Routing Serilog Log Entries with Filters and Formatters course, right here at Pluralsight.