cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl: Windows vs Mac

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 12 Jul 2012 15:43:50 +0200 (CEST)

On Thu, 12 Jul 2012, Guenter wrote:

> I've not yet played with the MSVC 2010 IDE so I cant tell;
> however the verbose output should go to STDERR, and I can catch it with IO
> redirection, f.e. with curl.exe on Windows I can do:
> curl -v http://curl.haxx.se/ 2>verbose.txt
> and get the verbose output in the file verbose.txt ...

And I'll throw in two alternative approaches:

1) Use CURLOPT_STDERR to redirect it someplace else, or...

2) Use CURLOPT_DEBUGFUNCTION to handle it in your own callback!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-07-12