Skip to content

Files

Latest commit

abd5ac4 · Jul 27, 2022

History

History
This branch is 11 commits behind linkdotnet/BlogExamples:main.

LoggingSourceCodeGenerator

Logging Source Code Generators

Since .NET6 we have the possibility to define an easy way of logging common statements:

Meet Compile-time logging source generators. This article will show why we have them and how to use them. Of course a smaller benchmark will also follow.

Found here