mirror of
https://github.com/apple/swift-log
synced 2026-11-25 03:57:48 +00:00
> [!IMPORTANT] > This is a revision of SLG-0004 previously discussed [here](https://forums.swift.org/t/proposal-slg-0004-metadata-values-privacy-attribute/85249/15). 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.