 |
XRootD
|
Go to the documentation of this file. 1 #ifndef ___SUT_TRACE_H___
2 #define ___SUT_TRACE_H___
31 #ifndef ___OUC_TRACE_H___
34 #ifndef ___SUT_AUX_H___
42 #define QTRACE(act) (sutTrace && (sutTrace->What & sutTRACE_ ## act))
43 #define PRINT(y) {if (sutTrace) {sutTrace->Beg(epname); \
44 std::cerr <<y; sutTrace->End();}}
45 #define TRACE(act,x) if (QTRACE(act)) PRINT(x)
46 #define DEBUG(y) TRACE(Debug,y)
47 #define EPNAME(x) static const char *epname = x;