amzn / smoke-framework

A light-weight server-side service framework written in the Swift programming language.
Apache License 2.0
1.44k stars 41 forks source link

Split out status.reasonPhrase and status.code when logging responses. #108

Closed tachyonics closed 2 years ago

tachyonics commented 2 years ago

Issue #, if available:

Description of changes: Split out status.reasonPhrase and status.code when logging responses. This avoids logging the Swift object for custom response codes and makes searching logs for specific error codes easier.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.