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
48 #define QTRACE(act) Trace.What & TRACE_ ## act
50 #define DEBUGR(y) if (Trace.What & TRACE_Debug) \
51 {Trace.Beg(epname, Arg.Ident); cerr <<y; Trace.End();}
53 #define DEBUG(y) if (Trace.What & TRACE_Debug) TRACEX(y)
55 #define TRACE(x,y) if (Trace.What & TRACE_ ## x) TRACEX(y)
57 #define TRACER(x,y) if (Trace.What & TRACE_ ## x) \
58 {Trace.Beg(epname, Arg.Ident); cerr <<y; Trace.End();}
60 #define TRACEX(y) {Trace.Beg(0,epname); cerr <<y; Trace.End();}
62 #define EPNAME(x) static const char *epname = x;
Definition: XrdOucTrace.hh:35
Definition: XrdSysError.hh:89