Stop using String Interpolation when Logging in .NET

Nick Chapsas March 14, 2022
Video Thumbnail

About

No channel description available.

Video Description

Check out my courses: https://dometrain.com Become a Patreon and get source code access: https://www.patreon.com/nickchapsas Hello everybody I'm Nick and in this video I will explain why you should not be using string interpolated when logging in .NET. This applies to both the build in Microsoft.Extensions.Logging framework and also on the very popular Serilog one. Strucutred logging is extremely valuable and in this video we will see how string interpolated can remove that benefit. Part of this video is sponsored by AWS Timestamps Intro - 0:00 The problem - 0:40 Visualizing logs - 7:55 A potential future solution - 13:11 Related videos You are doing .NET logging wrong. Let's fix it - https://www.youtube.com/watch?v=bnVfrd3lRv8 High-performance logging in .NET, the proper way - https://www.youtube.com/watch?v=a26zu-pyEyg How this NEW type changed the logging game in C# 10 - https://www.youtube.com/watch?v=MHIheQ2_Yb4 How C# 10 “fixed” string interpolation - https://www.youtube.com/watch?v=24D7u3y3mhI Don't forget to comment, like and subscribe :) Social Media: Follow me on GitHub: http://bit.ly/ChapsasGitHub Follow me on Twitter: http://bit.ly/ChapsasTwitter Connect on LinkedIn: http://bit.ly/ChapsasLinkedIn Keep coding merch: https://keepcoding.shop #csharp #dotnet #logging

No Recommendations Found

No products were found for the selected channel.