Solve Logging as a Cross-Cutting Concern with MediatR

Опубликовано: 30 Сентябрь 2024
на канале: Milan Jovanović
27,738
1k

☄️ Master the Modular Monolith Architecture: https://bit.ly/3SXlzSt
📌 Accelerate your Clean Architecture skills: https://bit.ly/3PupkOJ
🚀 Support me on Patreon to access the source code:   / milanjovanovic  

Logging is one of the most crucial components to get right in a C# application. In this video, I'll introduce you to logging in C# using the MediatR library. We'll create a pipeline behavior that will solve logging as a cross-cutting concern. I'll also talk about structured logging on a high level, and why we should use it.

Join my weekly .NET newsletter:
https://www.milanjovanovic.tech

Read my Blog here:
https://www.milanjovanovic.tech/blog

Subscribe for more:
   / @milanjovanovictech  

Chapters
0:00 Adding Logging pipeline behavior
4:00 Structured logging - what is it?
6:15 Logging with different Log levels
8:11 Configuring Log levels