-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XML request/response logger #9
Labels
Comments
Yes that would be a great idea, basically I would suggest to implement something via monolog and fallback to "echo" - so it would basically be a composer-suggests/recommends instead of requirement. |
Ok this might be a little more complicated:
So conclusion:
|
We used to log also the command type (the Frame class in this case) so the whole conclusion sounds perfect. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, with debug mode, you echo any XML send request/received response and it is already a great help.
We used to log these XML requests and responses in a database. It is really useful when a command failed and we can't exactly determine why (API response sometimes are not really clear). Like that, we can find a request and its response and send it to the API support.
Maybe we should be able to configure a logger when creating a Client object.
The text was updated successfully, but these errors were encountered: