Stop using String Interpolation when Logging in .NET

Опубликовано: 14 Март 2022
на канале: Nick Chapsas
85k
3k

Check out my courses:
Become a Patreon and get source code access:

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 -
High-performance logging in .NET, the proper way -
How this NEW type changed the logging game in C# 10 -
How C# 10 “fixed” string interpolation -

Don't forget to comment, like and subscribe :)

Social Media:
Follow me on GitHub:
Follow me on Twitter:
Connect on LinkedIn:

Keep coding merch:


Смотрите видео Stop using String Interpolation when Logging in .NET онлайн без регистрации, длительностью 17 минут 30 секунд в хорошем hd качестве. Это видео добавил пользователь Nick Chapsas 14 Март 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 85 тысяч раз и оно понравилось 3 тысяч людям.