|
Hi all,
a tracing facility is of course a useful one for debugging/
validating calculations. However, I don't think that it should grow into a
full-fledged logging facility: users of the library should be let free to
choose their preferred log library and call it in their client code. The
tracing macros should only be used for, well, tracing calculation details
and code flow, and in my opinion should be kept as simple as possible.
This leads to my question: is it worthwhile to have a tracing level in the
interface? Couldn't we just dump everything (or nothing if tracing is
disabled?)
Later,
Luigi
----------------------------------------
Dealing with failure is easy: work hard to improve. Success is also easy to
handle: you've solved the wrong problem. Work hard to improve.
-- Alan Perlis
|