Skip to content

[SLG-0004]: metadata value attributes proposal (revision 2)#440

Merged
kukushechkin merged 7 commits into
apple:mainfrom
kukushechkin:SLG-0004-attributed-metadata-take-2
May 13, 2026
Merged

[SLG-0004]: metadata value attributes proposal (revision 2)#440
kukushechkin merged 7 commits into
apple:mainfrom
kukushechkin:SLG-0004-attributed-metadata-take-2

Conversation

@kukushechkin

@kukushechkin kukushechkin commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

Important

This is a revision of SLG-0004 previously discussed here.

Add an extensible per-value attribute mechanism for metadata.

Motivation:

Metadata values in swift-log are opaque strings by the time the LogHandler receives them. The call site often
knows things about a value that the handler cannot infer — for example, whether the value should be redacted in
different environments, or additional value type information.

Modifications:

  • SLG-0004 proposal is updated based on the feedback in the first round of discussion.

Result:

Revised SLG-0004 proposal is ready for review.

@kukushechkin kukushechkin added the semver/none No version bump required. label Apr 9, 2026
@kukushechkin
kukushechkin force-pushed the SLG-0004-attributed-metadata-take-2 branch from 32f776b to e492ab9 Compare April 29, 2026 13:27
@kukushechkin kukushechkin changed the title [SLG-0004]: Revised Metadata value attributes + sensitivity attribute proposal [SLG-0004]: Revised Metadata value attributes proposal May 5, 2026
@kukushechkin kukushechkin changed the title [SLG-0004]: Revised Metadata value attributes proposal [SLG-0004]: Revised metadata value attributes proposal May 5, 2026
@kukushechkin kukushechkin changed the title [SLG-0004]: Revised metadata value attributes proposal [SLG-0004]: metadata value attributes proposal (revision 2) May 5, 2026
@kukushechkin
kukushechkin enabled auto-merge (squash) May 13, 2026 13:36
@kukushechkin
kukushechkin merged commit eca8199 into apple:main May 13, 2026
55 of 56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver/none No version bump required.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants