Skip to content

[SLG-0004]: Revised Metadata value attributes + sensitivity attribute proposal#440

Open
kukushechkin wants to merge 1 commit intoapple:mainfrom
kukushechkin:SLG-0004-attributed-metadata-take-2
Open

[SLG-0004]: Revised Metadata value attributes + sensitivity attribute proposal#440
kukushechkin wants to merge 1 commit intoapple:mainfrom
kukushechkin:SLG-0004-attributed-metadata-take-2

Conversation

@kukushechkin
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, with sensitivity as the first attribute.

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.

Modifications:

  • SLG-0004 proposal is updated based on the feedback.

Result:

Revised SLG-0004 proposal is ready for review.

@kukushechkin kukushechkin added the semver/none No version bump required. label Apr 9, 2026
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.

1 participant