dotnet / dotnet/docs

Consistancy of the Parameter casing between "Compile-time logging source generation" and "High-performance logging in .NET" articles

Open
#35,737 0 comments 0 reactions 0 assignees View on GitHub
:watch: Not Triaged dotnet-fundamentals/svc
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
15h 21m
Merged PRs (30d)
370

Description

In the [High-performance logging in .NET ](https://learn.microsoft.com/en-us/dotnet/core/extensions/high-performance-logging) article it suggests that Pascal casing is used for message parameter placeholder names. For example, {Item}, {DateTime}.

In this article where it doesn't state the preferred casing and the message placeholder of not case sensitive - shouldn't the recommendations be the same in both articles?

---
#### Document Details

⚠ *Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.*

* ID: 6fc4ecf0-19e4-54d3-c34e-b6eadb80262b
* Version Independent ID: decc74aa-a2d5-8727-f22b-3862bacde737
* Content: [Compile-time logging source generation - .NET](https://learn.microsoft.com/en-us/dotnet/core/extensions/logger-message-generator)
* Content Source: [docs/core/extensions/logger-message-generator.md](https://github.com/dotnet/docs/blob/main/docs/core/extensions/logger-message-generator.md)
* Product: **dotnet-fundamentals**
* GitHub Login: @maryamariyan
* Microsoft Alias: **maariyan**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.