Uploaded January 2022 | Updated November 2026, 17 hours ago
In this video, we'll talk about a Feature in C#9 .NET 5 that allows for easy High Performance Logging. However, there are some unfortunate drawbacks and a bug that render this feature (that's implemented using Source Generators) somewhat useless. But I show you how you can do this correctly in .NET Core as well as .NET 5. I also show you how to log custom objects in the most efficient and performant way.
Source Code for the Project Discussed in this video:
github.com/matlus/HighPerformanceLoggingAndInMemoryLogger
Chapters
00:00 Intro
00:26 What's covered in this Video
05:23 What is the Purpose of an Adaptor
07:44 A Look at the Code
12:20 The Bug related to High-Speed Logging
13:17 The Solution to Logging DTOs of your choosing
20:22 Implementation of TState for a customer DTO More articles and Programming With Intent chapters: matlus.com
Read the article: matlus.com/writing/high-performance-logging-custom-objects
In this video, we'll talk about a Feature in C#9 .NET 5 that allows for easy High Performance Logging. However, there are some unfortunate drawbacks and a bug that render this feature (that's implemented using Source Generators) somewhat useless. But I show you how you can do this correctly in .NET Core as well as .NET 5. I also show you how to log custom objects in the most efficient and performant way.
Source Code for the Project Discussed in this video:
github.com/matlus/HighPerformanceLoggingAndInMemoryLogger
Chapters
00:00 Intro
00:26 What's covered in this Video
05:23 What is the Purpose of an Adaptor
07:44 A Look at the Code
12:20 The Bug related to High-Speed Logging
13:17 The Solution to Logging DTOs of your choosing
20:22 Implementation of TState for a customer DTO More articles and Programming With Intent chapters: matlus.com
Read the article: matlus.com/writing/high-performance-logging-custom-objects










