29#define DEBTRACE(msg) { std::cerr << std::flush << __FILE__ << " [" << __LINE__ << "] : " << msg << std::endl << std::flush; }
41#define YACSTRACE(level,msg) { if(YACS::traceLevel >=level) \
43 AppendTimeClock(std::cerr); \
44 std::cerr << __FILE__ << " [" << __LINE__ << "] : " << msg << std::endl; \
47#define ERROR_YACSTRACE(msg) YACSTRACE(0,msg)
49#define WARNING_YACSTRACE(msg) YACSTRACE(1,msg)
51#define INFO_YACSTRACE(msg) YACSTRACE(2,msg)
53#define DEBUG_YACSTRACE(msg) YACSTRACE(7,msg)
55#define GURU_YACSTRACE(msg) YACSTRACE(99,msg)
59#define YASSERT(val) { if( !(val) ) { std::ostringstream mess; mess << __FILE__ << " [" <<__LINE__<< "] : assertion " << #val << " failed"; throw YACS::Exception(mess.str()); } }
void AppendTimeClock(std::ostream &os)