cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Redirect CURLOPT_VERBOSE

From: Gary Maxwell <gmaxwell_at_casabi.com>
Date: Fri, 14 Nov 2008 10:39:35 -0800

Wei Weng wrote:

> Is it possible to redirect CURLOPT_VERBOSE output to a file/stream?

Use CURLOPT_DEBUGFUNCTION to define a callback and then redirect the
output anywhere you want.

GaryM
Received on 2008-11-14