XRootD
XrdFrcTrace.hh File Reference
+ Include dependency graph for XrdFrcTrace.hh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 XrdFrc
 

Macros

#define DEBUG(y)   if (Trace.What & TRACE_Debug) TRACEX(y)
 
#define DEBUGR(y)
 
#define EPNAME(x)   static const char *epname = x;
 
#define QTRACE(act)   Trace.What & TRACE_ ## act
 
#define TRACE(x, y)   if (Trace.What & TRACE_ ## x) TRACEX(y)
 
#define TRACE_ALL   0xffff
 
#define TRACE_Debug   0x0001
 
#define TRACER(x, y)
 
#define TRACEX(y)   {Trace.Beg(0,epname); std::cerr <<y; Trace.End();}
 
#define VMSG(a, ...)   if (Config.Verbose) Say.Emsg(a,__VA_ARGS__);
 
#define VSAY(a, ...)   if (Config.Verbose) Say.Say(a,__VA_ARGS__);
 

Variables

XrdSysError XrdFrc::Say
 
XrdOucTrace XrdFrc::Trace
 

Macro Definition Documentation

◆ DEBUG

#define DEBUG (   y)    if (Trace.What & TRACE_Debug) TRACEX(y)

Definition at line 48 of file XrdFrcTrace.hh.

◆ DEBUGR

#define DEBUGR (   y)
Value:
{Trace.Beg(epname, Req.User); std::cerr <<y; Trace.End();}
#define TRACE_Debug
Definition: XrdFrcTrace.hh:37
void End()
Definition: XrdOucTrace.hh:42
void Beg(const char *tid=0, const char *usr=0, const char *sid=0)
Definition: XrdOucTrace.hh:39
XrdOucTrace Trace

Definition at line 45 of file XrdFrcTrace.hh.

◆ EPNAME

#define EPNAME (   x)    static const char *epname = x;

Definition at line 56 of file XrdFrcTrace.hh.

◆ QTRACE

#define QTRACE (   act)    Trace.What & TRACE_ ## act

Definition at line 43 of file XrdFrcTrace.hh.

◆ TRACE

#define TRACE (   x,
 
)    if (Trace.What & TRACE_ ## x) TRACEX(y)

Definition at line 50 of file XrdFrcTrace.hh.

◆ TRACE_ALL

#define TRACE_ALL   0xffff

Definition at line 36 of file XrdFrcTrace.hh.

◆ TRACE_Debug

#define TRACE_Debug   0x0001

Definition at line 37 of file XrdFrcTrace.hh.

◆ TRACER

#define TRACER (   x,
 
)
Value:
if (Trace.What & TRACE_ ## x) \
{Trace.Beg(epname, Req.User); std::cerr <<y; Trace.End();}

Definition at line 52 of file XrdFrcTrace.hh.

◆ TRACEX

#define TRACEX (   y)    {Trace.Beg(0,epname); std::cerr <<y; Trace.End();}

Definition at line 55 of file XrdFrcTrace.hh.

◆ VMSG

#define VMSG (   a,
  ... 
)    if (Config.Verbose) Say.Emsg(a,__VA_ARGS__);

Definition at line 66 of file XrdFrcTrace.hh.

◆ VSAY

#define VSAY (   a,
  ... 
)    if (Config.Verbose) Say.Say(a,__VA_ARGS__);

Definition at line 68 of file XrdFrcTrace.hh.