1 #ifndef _XRDFRC_TRACE_H
2 #define _XRDFRC_TRACE_H
36 #define TRACE_ALL 0xffff
37 #define TRACE_Debug 0x0001
43 #define QTRACE(act) Trace.What & TRACE_ ## act
45 #define DEBUGR(y) if (Trace.What & TRACE_Debug) \
46 {Trace.Beg(epname, Req.User); cerr <<y; Trace.End();}
48 #define DEBUG(y) if (Trace.What & TRACE_Debug) TRACEX(y)
50 #define TRACE(x,y) if (Trace.What & TRACE_ ## x) TRACEX(y)
52 #define TRACER(x,y) if (Trace.What & TRACE_ ## x) \
53 {Trace.Beg(epname, Req.User); cerr <<y; Trace.End();}
55 #define TRACEX(y) {Trace.Beg(0,epname); cerr <<y; Trace.End();}
56 #define EPNAME(x) static const char *epname = x;
66 #define VMSG(a,...) if (Config.Verbose) Say.Emsg(a,__VA_ARGS__);
68 #define VSAY(a,...) if (Config.Verbose) Say.Say(a,__VA_ARGS__);
Definition: XrdOucTrace.hh:35
Definition: XrdSysError.hh:89