A log call on a hot path can box values, allocate temporary objects, and parse its template at runtime. `LoggerMessageAttribute` generates a strongly typed logging method at compile time instead. https://learn.microsoft.com/dotnet/core/extensions/high-performance-logging
0 reposts0 likes