Newbie question on adding trace statements
Posted by Joseph Wang on Dec 29, 2004; 12:48am
URL: http://quantlib.414.s1.nabble.com/Newbie-question-on-adding-trace-statements-tp3463.html
This is a newbie question....
I'd like to add some code into Quantlib to dump out intermediate results
for debugging,
and it seems that it would be a good thing to have some mechanism that
you can turn
on trace statements in response to an environment variable. Something
similar to the
Java Logger facility.
What is the preferred way of doing this in Quantlib?