Good afternoon!
I need to log SOAP requests in PHP.I'm trying to make a decorator for the soap client as in this example - https://stackoverflow.com/a/1729640, but nothing comes out.Tell me, please, maybe someone knows a good working example of logging soap requests.

1 Answers 1

Stop dealing with garbage and start setting up the logger on the web server(or API Gateway, or proxy - yes, anywhere).The code should only be responsible for processing the application logic