Hello,
There is an old library which I do not have the source.It is a client library for an API endpoint.
I need to log which requests are made from which function. Since library is used in a multithreaded environment, and I cannot alter the requests and responses, I'm stuck.
One way would be creating a series of proxies and assigning them to client before each function call, but it seems very inefficient.
Any thoughts?