Skip to content

[New article]: Detailed docs for Microsoft.Extensions.Telemetry #48910

@Meir017

Description

@Meir017

Proposed topic or title

Logging extensions

Location in table of contents.

docs/core/extensions

Reason for the article

Currently, there are no docs with details about using the Microsoft.Extensions.Telemetry library effectively.

https://andrewlock.net/behind-logproperties-and-the-new-telemetry-logging-source-generator/ is linked to from the official docs (here https://learn.microsoft.com/en-us/aspnet/core/fundamentals/logging/)
and https://andrewlock.net/customising-the-new-telemetry-logging-source-generator/ covers more of the new source-generator.

By having these docs on the official https://learn.microsoft.com/ website, we'll be able to leverage AI further to use these best practices via the Microsoft Learn MCP

there are some docs on https://github.com/dotnet/extensions/tree/main/src/Libraries/Microsoft.Extensions.Telemetry & https://github.com/dotnet/extensions/tree/main/src/Libraries/Microsoft.Extensions.Telemetry.Abstractions

specifically missing docs about the types and annotations:

Article abstract

.

Relevant searches

https://github.com/search?q=org%3Adotnet%20%22%5BLogProperties%22&type=code

there are some great samples - https://github.com/dotnet/extensions-samples/tree/aaae284846366e5c122b2760c4060712b862c060/src/Telemetry/Logging

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions