41 #ifndef _XROOTD_TRACE_H
42 #define _XROOTD_TRACE_H
47 #define TRACE_ALL 0x0fff
48 #define TRACE_AUTH 0x0001
49 #define TRACE_DEBUG 0x0002
50 #define TRACE_MEM 0x0010
51 #define TRACE_REQ 0x0020
52 #define TRACE_REDIR 0x0040
53 #define TRACE_RSP 0x0080
64 #define TRACE(act, x) \
65 if (XrdHttpTrace->What & TRACE_ ## act) \
66 {XrdHttpTrace->Beg(XrdHttpTraceID); cerr <<x; XrdHttpTrace->End();}
68 #define TRACEI(act, x) \
69 if (XrdHttpTrace->What & TRACE_ ## act) \
70 {XrdHttpTrace->Beg(XrdHttpTraceID,TRACELINK->ID); cerr <<x; XrdHttpTrace->End();}
72 #define TRACEP(act, x) \
73 if (XrdHttpTrace->What & TRACE_ ## act) \
74 {XrdHttpTrace->Beg(XrdHttpTraceID,TRACELINK->ID,Response.ID()); cerr <<x; \
77 #define TRACES(act, x) \
78 if (XrdHttpTrace->What & TRACE_ ## act) \
79 {XrdHttpTrace->Beg(XrdHttpTraceID,TRACELINK->ID,(const char *)trsid); cerr <<x; \
82 #define TRACING(x) XrdHttpTrace->What & x
83 #define EPNAME(x) static const char* epname = x;
XrdOucTrace * XrdHttpTrace
const char * XrdHttpTraceID
Definition: XrdOucTrace.hh:36