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

 

 

_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to