C# Logging Made Easy With Structured Logging And MediatR
Support me on Patreon to access the source code:
https://www.patreon.com/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:
https://www.youtube.com/@MilanJovanovicTech?sub_confirmation=1
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
Comments are closed.