MWPrintf


void MWprintf( int level, char *fmt, ... )
A regular printf, with debugging level
set_MWprintf_level
Set the debug level for the MWprintf function
This functions control the amount of printed information in the MWDriver. This is controlled through "levels", where a level of 0 is the most important and 99 is the least important. You can set the debug level to only print levels n and below.

Yes, this *is* a global function. However, everyone needs to use it, and making it a static member of MWDriver would mean that you'd have to type MWDriver::MWprintf(), which would get downright annoying.

Other suggestions would be welcome.

Here's a proposed layout of how the numbers should work:

Remember, you've got 9 levels in between each of these, so feel free to be creative....

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de