If there is one topic that every single .NET developer needs to be proficient at,
it's Logging. Logging is fundamental to every application that wants to run reliably
in production. From APIs, and web apps, to Desktop apps and mobile apps or even games,
logging should be in place to ensure you have the right information you need to know
what is going on in your system. Logging will be crucial when something inevitably
goes wrong and you need to troubleshoot it. In modern .NET, we are blessed with an
excellent built-in logger, but it is also essential to be proficient in Serilog,
the most popular logging library. In this course, Nick will translate years of valuable
logging knowledge gained in the field, working on real projects so you can follow the path of success.
Course Curriculum
2h 56m 10 sections
Welcome
01:31Free preview
What will you learn in this course?
01:18Free preview
Who is the course for and prerequisites
00:48Free preview
What is Logging?
01:58
The simplest log entry
01:48
Log categories
01:39
Log Levels
04:46
Log providers (destinations)
02:25
Section recap
00:34
The modern .NET Logger
03:03
The log methods
02:55
Why simple logging isn’t good enough
02:11
What is Structured Logging?
01:27
The message template
01:38
Log entry parameters
02:31
Understanding the Log Category
02:10
Working with the Log Level
05:20
The log event id
02:49
Section recap
00:54
The logging packages
05:27
Host vs non-host console app
03:52
Customizing the loggers and providers
03:09
Log category configuration
04:32
Dealing with exceptions
01:52
What are Log filters?
04:03
Section recap
00:50
What is a provider?
01:14
Built-in providers
01:59
Using the Application Insights provider in ASP.NET Core
05:01
Using the Application Insights provider in a console app
Nick Chapsas is a .NET & C# content creator, educator and a Microsoft MVP for Developer Technologies with years of experience in Software Engineering and Engineering Management.
He has worked for some of the biggest companies in the world, building systems that served millions of users and tens of thousands of requests per second.
Nick creates free content on YouTube and is the host of the Keep Coding Podcast.