Skip to content

IAppender.Name does not uniquely identify an appender #340 - #341

Merged
FreeAndNil merged 1 commit into
masterfrom
Feature/340-appender-name-not-unique
Oct 28, 2026
Merged

FreeAndNil merged 1 commit into
masterfrom
Feature/340-appender-name-not-unique

Conversation

@FreeAndNil

Copy link
Copy Markdown
Contributor

- uniqueness was never enforced, so drop the claim from IAppender.Name and AppenderSkeleton.Name
- GetAppender(string) and RemoveAppender(string) document first-match behaviour
- implementers use inheritdoc instead of copies of the interface docs
@FreeAndNil FreeAndNil added this to the 3.5.1 milestone Oct 27, 2026
@FreeAndNil
FreeAndNil merged commit 86c64ae into master Oct 28, 2026
3 checks passed
@FreeAndNil
FreeAndNil deleted the Feature/340-appender-name-not-unique branch October 28, 2026 06:30
This was referenced Nov 12, 2026
@FreeAndNil

Copy link
Copy Markdown
Contributor Author

Implementation plan for #341, kept here for the record. Written up to describe the change as it stands on the branch.

Plan

IAppender.Name does not uniquely identify an appender (#340)

Context

The docs of IAppender.Name and AppenderSkeleton.Name promised a unique name. Nothing ever
enforced it: two appenders can carry one name, and lookups by name return the first match.

Changes

  1. IAppender.Name and AppenderSkeleton.Name: the uniqueness claim is dropped.
  2. IAppenderAttachable.GetAppender(string) and RemoveAppender(string) document first-match
    behaviour, in the interface and in Logger, AppenderAttachedImpl, ForwardingAppender and
    BufferingForwardingAppender.
  3. The implementers use <inheritdoc/> instead of copies of the interface docs.

Docs only, no behaviour change. One changelog entry in src/changelog/3.5.1.

Verification

  • dotnet build of all targets with 0 warnings, the generated docs read for the changed members.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IAppender.Name doc says the name "uniquely identifies the appender", but nothing enforces uniqueness

2 participants