 |
XRootD
|
Go to the documentation of this file. 1 #ifndef ___SECPWD_TRACE_H___
2 #define ___SECPWD_TRACE_H___
37 #define QTRACE(act) (pwdTrace && (pwdTrace->What & TRACE_ ## act))
38 #define PRINT(y) {if (pwdTrace) {pwdTrace->Beg(epname); \
39 std::cerr <<y; pwdTrace->End();}}
40 #define TRACE(act,x) if (QTRACE(act)) PRINT(x)
41 #define NOTIFY(y) TRACE(Debug,y)
42 #define DEBUG(y) TRACE(Authen,y)
43 #define EPNAME(x) static const char *epname = x;
56 #define TRACE_ALL 0x000f
57 #define TRACE_Dump 0x0004
58 #define TRACE_Authen 0x0002
59 #define TRACE_Debug 0x0001