A more flexible and enhanced way of logging in .NET 8 #84
Replies: 3 comments 6 replies
-
The source generator version is about 25% more code than the original, not less? |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
The |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Yeah, I love this feature. It doesn't cause boxing or concatenations that create extra allocations. But I still prefer to create them using extension methods in another class. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
A more flexible and enhanced way of logging in .NET 8
The latest version of the .NET (version 8) has introduced a "better" way of logging. This new way of logging is more flexible and enhanced than the previous versions. It is about the LoggerMessageAttribute.
https://steven-giesel.com/blogPost/1add3827-4233-4e31-9ce9-bcc34d64e76f
Beta Was this translation helpful? Give feedback.
All reactions