Go to the documentation of this file. 1 #ifndef _XRDFRC_TRACE_H
2 #define _XRDFRC_TRACE_H
16 #define TRACE_ALL 0xffff
17 #define TRACE_Debug 0x0001
23 #define QTRACE(act) Trace.What & TRACE_ ## act
25 #define DEBUGR(y) if (Trace.What & TRACE_Debug) \
26 {Trace.Beg(epname, Req.User); cerr <<y; Trace.End();}
28 #define DEBUG(y) if (Trace.What & TRACE_Debug) TRACEX(y)
30 #define TRACE(x,y) if (Trace.What & TRACE_ ## x) TRACEX(y)
32 #define TRACER(x,y) if (Trace.What & TRACE_ ## x) \
33 {Trace.Beg(epname, Req.User); cerr <<y; Trace.End();}
35 #define TRACEX(y) {Trace.Beg(0,epname); cerr <<y; Trace.End();}
36 #define EPNAME(x) static const char *epname = x;
46 #define VMSG(a,...) if (Config.Verbose) Say.Emsg(a,__VA_ARGS__);
48 #define VSAY(a,...) if (Config.Verbose) Say.Say(a,__VA_ARGS__);