High Performance Logging and Custom Objects @Matlus
High Performance Logging and Custom Objects  @Matlus
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
High Performance Logging and Custom ObjectsgRPC - Getting Started .NET 5/ .NET Core 3.xC# 9 Record TypesSo You Think You Know C#? Delegates & Higher Order FunctionsAzure DevOps Build Pipeline (CI Pipeline)Introduction to WinRT - Building Windows 8 Store ApplicationsStory Telling   Canon XHA1 and the Letus35 ExtremeSo You Think You Can LINQ - Part 1Alexa Demystified - Explaining the Flow with an IoT ThermostatASP.NET Core SignalR & Worker Services - Getting StartedImprove Your Communication SkillsBuilding/Debugging Alexa Apps using ASP.Net Core
Shiv Kumar |

High Performance Logging and Custom Objects

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER