[webkit-dev] newbie question-

Amit Joshi joshi at yahoo-inc.com
Wed Nov 7 10:23:58 PST 2007


I have just started my hacking adventure in the webkit code-base. I was
wondering whats a typical way to print log output lines ? I can always
write my own routine to write into my own log file, but I thought may be
there would be a standard way of doing this through some common
routine/class in this huge code base. I came across WTF log functions,
like this one
void WTFReportError(const char* file, int line, const char* function,
const char* format, ...)..

Is this whats been used typically to print debug info ? I wonder what
function and line parameters (used in all other WTF log functions) mean
?

I always feel being able to print your own 'hello-world' line in the new
code-base is very important in order to be comfortable with the code you
are hacking ..

Any help is greatly appreciated..

-- Amit

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.webkit.org/pipermail/webkit-dev/attachments/20071107/f7e9346e/attachment-0001.html


More information about the webkit-dev mailing list