 |
XRootD
|
Go to the documentation of this file. 1 #ifndef _XRDCMS_TRACE_H
2 #define _XRDCMS_TRACE_H
36 #define TRACE_ALL 0xffff
37 #define TRACE_Debug 0x0001
38 #define TRACE_Stage 0x0002
39 #define TRACE_Defer 0x0004
40 #define TRACE_Forward 0x0008
41 #define TRACE_Redirect 0x0010
42 #define TRACE_Files 0x0020
43 #define TRACE_Space 0x0040
49 #define QTRACE(act) Trace.What & TRACE_ ## act
51 #define DEBUGR(y) if (Trace.What & TRACE_Debug) \
52 {SYSTRACE(Trace., Arg.Ident, epname, 0, y)}
54 #define DEBUG(y) if (Trace.What & TRACE_Debug) TRACEX(y)
56 #define TRACE(x,y) if (Trace.What & TRACE_ ## x) TRACEX(y)
58 #define TRACER(x,y) if (Trace.What & TRACE_ ## x) \
59 {SYSTRACE(Trace., Arg.Ident, epname, 0, y)}
61 #define TRACEX(y) {SYSTRACE(Trace., 0, epname, 0, y)}
63 #define EPNAME(x) static const char *epname = x;