xrootd
Namespaces | Defines | Variables

XrdFrmTrace.hh File Reference

#include "XrdSys/XrdSysError.hh"
#include "XrdOuc/XrdOucTrace.hh"
#include "XrdSys/XrdSysHeaders.hh"
Include dependency graph for XrdFrmTrace.hh:

Go to the source code of this file.

Namespaces

namespace  XrdFrm

Defines

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

Variables

XrdSysError XrdFrm::Say
XrdOucTrace XrdFrm::Trace

Define Documentation

#define DEBUG (   y)    if (Trace.What & TRACE_Debug) TRACEX(y)
#define DEBUGR (   y)
Value:
if (Trace.What & TRACE_Debug) \
                  {Trace.Beg(epname, Req.User); cerr <<y; Trace.End();}
#define EPNAME (   x)    static const char *epname = x;
#define QTRACE (   act)    Trace.What & TRACE_ ## act
#define TRACE (   x,
 
)    if (Trace.What & TRACE_ ## x) TRACEX(y)
#define TRACE_ALL   0xffff
#define TRACE_Debug   0x0001
#define TRACER (   x,
 
)
Value:
if (Trace.What & TRACE_ ## x) \
                       {Trace.Beg(epname, Req.User); cerr <<y; Trace.End();}
#define TRACEX (   y)    {Trace.Beg(0,epname); 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__);