You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because of work on ios logging to ElasticSearch I would like to use ReqRes feature to "listen"on Requests and Responses.
I would like to separate "output format" and "logger for output format" out of the ReqRes. I know it brings up some level of additional complexity. But if written correctly it wont affect the original simplicity and intentions of use.
first idea out of the Box is to have Generic Formatter which conforms to logResponse, logRequest/ Error interface... and this formatter has output of T
Formatters will have Logger which accepts T as input and do whatever it wants with it.
if you agree i can start working on it and create pull request.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Because of work on ios logging to ElasticSearch I would like to use ReqRes feature to "listen"on Requests and Responses.
I would like to separate "output format" and "logger for output format" out of the ReqRes. I know it brings up some level of additional complexity. But if written correctly it wont affect the original simplicity and intentions of use.
first idea out of the Box is to have Generic Formatter which conforms to logResponse, logRequest/ Error interface... and this formatter has output of T
Formatters will have Logger which accepts T as input and do whatever it wants with it.
if you agree i can start working on it and create pull request.
The text was updated successfully, but these errors were encountered: