From Zero to Hero: Logging in .NET
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.
Watch Online From Zero to Hero: Logging in .NET
# | Title | Duration |
---|---|---|
1 | Welcome | 01:32 |
2 | What will you learn in this course? | 01:19 |
3 | Who is the course for and prerequisites | 00:49 |
4 | What is Logging? | 01:59 |
5 | The simplest log entry | 01:49 |
6 | Log categories | 01:40 |
7 | Log Levels | 04:47 |
8 | Log providers (destinations) | 02:26 |
9 | Section recap | 00:35 |
10 | The modern .NET Logger | 03:04 |
11 | The log methods | 02:56 |
12 | Why simple logging isn’t good enough | 02:12 |
13 | What is Structured Logging? | 01:28 |
14 | The message template | 01:39 |
15 | Log entry parameters | 02:32 |
16 | Understanding the Log Category | 02:12 |
17 | Working with the Log Level | 05:21 |
18 | The log event id | 02:50 |
19 | Section recap | 00:55 |
20 | The logging packages | 05:28 |
21 | Host vs non-host console app | 03:53 |
22 | Customizing the loggers and providers | 03:10 |
23 | Log category configuration | 04:33 |
24 | Dealing with exceptions | 01:53 |
25 | What are Log filters? | 04:04 |
26 | Section recap | 00:51 |
27 | What is a provider? | 01:15 |
28 | Built-in providers | 02:00 |
29 | Using the Application Insights provider in ASP.NET Core | 05:02 |
30 | Using the Application Insights provider in a console app | 04:29 |
31 | Editing registered providers | 01:45 |
32 | Creating our own logger provider | 03:19 |
33 | Section recap | 00:48 |
34 | Log message template formatting | 02:09 |
35 | Dealing with complex objects | 02:56 |
36 | Log scopes | 04:44 |
37 | Checking for enabled log levels | 03:27 |
38 | Timed log entries | 06:56 |
39 | Changing the log level during runtime | 03:52 |
40 | Section recap | 01:08 |
41 | What is Serilog? | 02:20 |
42 | Creating a Serilog Logger | 02:27 |
43 | The concept of Sinks | 02:47 |
44 | The static Serilog logger | 01:36 |
45 | Simple Logger Dependency Injection | 02:05 |
46 | Integrating with the Microsoft Logger | 02:18 |
47 | File-based configuration | 02:39 |
48 | Log enrichment | 02:16 |
49 | Integrating with Application Insights | 02:33 |
50 | Dealing with Structured Data | 03:10 |
51 | Transforming Structured Data | 01:29 |
52 | Manually enriching logs | 02:06 |
53 | Timed Operations | 02:52 |
54 | Masking sensitive logs | 03:07 |
55 | Asynchronous processing | 02:32 |
56 | Creating your own Sink | 03:30 |
57 | Section recap | 01:12 |
58 | Why does it matter? | 01:43 |
59 | The LoggerMessage.Define method | 06:07 |
60 | The logging source generator | 04:08 |
61 | Section recap | 00:39 |
62 | What is monitoring? | 01:19 |
63 | Alerting in Application Insights | 01:51 |
64 | Error-based alerts | 05:24 |
65 | Query-based alerts | 03:35 |
66 | Section recap | 00:36 |
67 | Course conclusion | 00:27 |
Similar courses to From Zero to Hero: Logging in .NET
![Deep Dive: Modular Monoliths in .NET](https://cdn.courseflix.net/courses/100x56/deep-dive-modular-monoliths-in-net.jpg)
Deep Dive: Modular Monoliths in .NET
![From Zero to Hero: Test-Driven Development in C#](https://cdn.courseflix.net/courses/100x56/from-zero-to-hero-test-driven-development-in-c.jpg)
From Zero to Hero: Test-Driven Development in C#
![Unlock The Power Of Microservices In The Azure Cloud](https://cdn.courseflix.net/courses/100x56/unlock-the-power-of-microservices-in-the-azure-cloud.jpg)
Unlock The Power Of Microservices In The Azure Cloud
![Building Microservices With .NET](https://cdn.courseflix.net/courses/100x56/building-microservices-with-net.jpg)
Building Microservices With .NET
![ASP.NET Core Full Stack](https://cdn.courseflix.net/courses/100x56/asp-net-core-full-stack.jpg)
ASP.NET Core Full Stack
![C# Mastercourse](https://cdn.courseflix.net/courses/100x56/c-mastercourse.jpg)
C# Mastercourse
![From Zero to Hero: Entity Framework Core in .NET](https://cdn.courseflix.net/courses/100x56/from-zero-to-hero-entity-framework-core-in-net.jpg)
From Zero to Hero: Entity Framework Core in .NET
![Automate All The Things With DevOps](https://cdn.courseflix.net/courses/100x56/automate-all-the-things-with-devops.jpg)
Automate All The Things With DevOps
![Unity Android : Build 8 Mobile Games with Unity & C#](https://cdn.courseflix.net/courses/100x56/unity-android-build-8-mobile-games-with-unity-c.jpg)
Unity Android : Build 8 Mobile Games with Unity & C#
![Building Applications with React 17 and ASP.NET Core 6](https://cdn.courseflix.net/courses/100x56/building-applications-with-react-17-and-asp-net-core-6.jpg)