swiftlang / sourcekit-lsp

Language Server Protocol implementation for Swift and C-based languages
Apache License 2.0
3.31k stars 277 forks source link

Implement a redacted logging of sourcekitd requests and responses that logs keys and non-sensitive data #1598

Open ahoppen opened 3 months ago

ahoppen commented 3 months ago

Implement a version similar to recursiveRedactedDescription that is able to log keys and non-sensitive data of SKDRequest and SKDResponse, which allows us to log more information even if extended logging is disabled.

ahoppen commented 3 months ago

Synced to Apple’s issue tracker as rdar://132934986