[SLG-0003]: Standardized Error Metadata via Logger Convenience#405
[SLG-0003]: Standardized Error Metadata via Logger Convenience#405kukushechkin merged 6 commits intoapple:mainfrom
Conversation
|
I have some thoughts:
|
kukushechkin
left a comment
There was a problem hiding this comment.
Thank you for taking time to prepare the proposal! I have left a few suggestions and a few questions to discuss before starting the formal review process.
Please, keep them as separate methods. Changing the method signature is strictly speaking an API breakage, even if default value keeps code compilable.
|
Add docc, link to custom implementation, fix wording feedback
@kukushechkin thanks for all your suggestions, really appreciate the help! |
Make WellKnownMetadataKey a struct
Add 'recordError', change parameter to 'any Error', text clarifications
6a9ca08 to
5698665
Compare
|
@samuelmurray thank you for addressing the comments! The proposal looks good for the public review now. Let's wait until the Monday for any more suggestion, and if none arise, I will merge this and start the formal review at https://forums.swift.org. |
|
Add standardized way of attaching data from Error instances to log posts.
Motivation:
Addresses #291
Modifications:
The "SLG-0003" proposal doc added.
Result:
The proposal is ready for review.