问题
How to modify libcurl so that all the error descriptions are collected in a common log file ? I am trying to port libcurl to android and display curl logs on adb. Is there a way to log all the activities of libcurl ?
回答1:
How about simply using CURLOPT_DEBUGFUNCTION? It was designed for exactly such a purpose...
来源:https://stackoverflow.com/questions/15337319/logging-in-libcurl