10 Error::Error(int level) // should loglevel also be an argument?
17 void Error::setDebugLevel(int level)
23 void Error::debug(string const & msg, int level)
25 if (debuglevel & level)
27 // should also print to the logfile
30 void Error::print(string const & msg)
33 fprintf(stderr, "%s\n", msg.c_str());