update LoggerMessage.Define() to be source generated logging
Type of issue
Outdated article
Description
Most of the content on that high perf logging page talks about LoggerMessage.Define() which may have been state of the art around .NET Core 3 but as soon as source generated logging came out. Please update this documentation to reflect the above.
Page URL
https://learn.microsoft.com/en-us/dotnet/core/extensions/high-performance-logging#define-a-logger-message
Content source URL
https://github.com/dotnet/docs/blob/main/docs/core/extensions/high-performance-logging.md
Document Version Independent Id
3f5f1b6e-06ac-cc07-48cd-b8b957a4abbb
Article author
@IEvangelist
Metadata
- ID: aa00c051-c047-bbcd-5e25-ca6a722b51c3
- Service: dotnet-fundamentals
cc @tarekgh
We may need to copy the summary from the page https://learn.microsoft.com/en-us/dotnet/core/extensions/logger-message-generator#summary and refer to the page too.