Go to the documentation of this file.
2 #ifndef ___SUT_TRACE_H___
3 #define ___SUT_TRACE_H___
13 #ifndef ___OUC_TRACE_H___
16 #ifndef ___SUT_AUX_H___
24 #define QTRACE(act) (sutTrace && (sutTrace->What & sutTRACE_ ## act))
25 #define PRINT(y) {if (sutTrace) {sutTrace->Beg(epname); \
26 cerr <<y; sutTrace->End();}}
27 #define TRACE(act,x) if (QTRACE(act)) PRINT(x)
28 #define DEBUG(y) TRACE(Debug,y)
29 #define EPNAME(x) static const char *epname = x;