Skip to content

Add EventSource logging package README - #138059

Merged
svick merged 1 commit into
dotnet:mainfrom
wozhenbang2004:docs-eventsource-logging-package-readme
Nov 24, 2026
Merged

svick merged 1 commit into
dotnet:mainfrom
wozhenbang2004:docs-eventsource-logging-package-readme

Conversation

@wozhenbang2004

Copy link
Copy Markdown
Contributor

Refs #99358.

Add a package README showing how to emit a formatted event with AddEventSourceLogger and capture it with EventListener. Enable the standard package README metadata.

Built and ran the example using Microsoft.Extensions.Logging.EventSource 10.0.14. MSBuild confirmed that PACKAGE.md is packed at the archive root.

@dotnet-policy-service dotnet-policy-service Bot added the community-contribution Indicates that the PR has been added by a community member label Nov 21, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 4 pipeline(s).
11 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/area-extensions-logging
See info in area-owners.md if you want to be subscribed.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are recorded for the package documentation and README inclusion changes.

No open issues 🎉

What changed in this PR

Adds a NuGet package README for Microsoft.Extensions.Logging.EventSource, supporting the shipping-library documentation effort tracked by #99358.

Changes:

  • Documents the provider, key types, and links to further guidance.
  • Shows how to register the provider, emit a log message, and select formatted events for collection.
  • Removes the README opt-out to enable standard package README inclusion.
File Description
src/​libraries/​Microsoft.Extensions.Logging.EventSource/​src/​PACKAGE.md Adds package guidance and a logging example.
src/​libraries/​Microsoft.Extensions.Logging.EventSource/​src/​Microsoft.Extensions.Logging.EventSource.csproj Removes the README opt-out and associated TODO.

Review effort: Balanced

@svick

svick commented Nov 24, 2026

Copy link
Copy Markdown
Member

/ba-g Failure is deadletter.

@svick svick left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks.

@svick
svick merged commit 387a31b into dotnet:main Nov 24, 2026
79 of 81 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-Extensions-Logging community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants