[webkit-dev] newbie question-

Darin Adler darin at apple.com
Wed Nov 7 10:38:47 PST 2007


When working on Mac OS X, for things in my local tree, I just use  
printf.

There's a macro called LOG() you can use; it's for logging that goes  
into the production code, so the log statements are turned on and off  
by command-line switches.

For your purposes, you may find that LOG_ERROR works well. It takes  
the same arguments that printf would. It's compiled only for debug  
builds.

     -- Darin



More information about the webkit-dev mailing list