10 // $Id: error.C,v 1.1 1999/09/27 18:44:37 larsbj Exp $
12 #if !defined(lint) && !defined(WITH_WARNINGS)
13 static char vcid[] = "$Id: error.C,v 1.1 1999/09/27 18:44:37 larsbj Exp $";
16 Error::Error(int level) // should loglevel also be an argument?
23 void Error::setDebugLevel(int level)
29 void Error::debug(LString const & msg, int level)
31 if (debuglevel & level)
33 // should also print to the logfile
36 void Error::print(LString const & msg)
39 fprintf(stderr, "%s\n", msg.c_str());