From Zero to Hero: Logging in .NET

2h 56m 35s
English
Paid
June 10, 2024

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

Join premium to watch
Go to premium
# 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

Deep Dive: Modular Monoliths in .NET

Duration 4 hours 21 minutes 31 seconds
From Zero to Hero: Test-Driven Development in C#

From Zero to Hero: Test-Driven Development in C#

Duration 5 hours 41 minutes 22 seconds
Unlock The Power Of Microservices In The Azure Cloud

Unlock The Power Of Microservices In The Azure Cloud

Duration 9 hours 5 minutes 43 seconds
Building Microservices With .NET

Building Microservices With .NET

Duration 18 hours 10 minutes 56 seconds
ASP.NET Core Full Stack

ASP.NET Core Full Stack

Duration 5 hours 26 minutes 21 seconds
C# Mastercourse

C# Mastercourse

Duration 70 hours 40 minutes 18 seconds
From Zero to Hero: Entity Framework Core in .NET

From Zero to Hero: Entity Framework Core in .NET

Duration 8 hours 32 minutes 27 seconds
Automate All The Things With DevOps

Automate All The Things With DevOps

Duration 3 hours 9 minutes 37 seconds
Unity Android : Build 8 Mobile Games with Unity & C#

Unity Android : Build 8 Mobile Games with Unity & C#

Duration 16 hours 50 minutes 56 seconds
Building Applications with React 17 and ASP.NET Core 6

Building Applications with React 17 and ASP.NET Core 6

Duration 19 hours 28 minutes 31 seconds