xrootd
Loading...
Searching...
No Matches
Macros
XrdOssCsiTrace.hh File Reference
#include "XrdOuc/XrdOucTrace.hh"
#include "XrdSys/XrdSysHeaders.hh"
Include dependency graph for XrdOssCsiTrace.hh:

Go to the source code of this file.

Macros

#define TRACE_ALL   0x0fff
 
#define TRACE_Warn   0x0001
 
#define TRACE_Info   0x0002
 
#define TRACE_Debug   0x0800
 
#define QTRACE(act)   OssCsiTrace.What & TRACE_ ## act
 
#define TRACE(act, x)
 
#define TRACEReturn(type, ecode, msg)    {TRACE(type, "err " <<ecode <<msg); return ecode;}
 
#define DEBUG(y)
 
#define EPNAME(x)   static const char *epname = x;
 

Macro Definition Documentation

◆ DEBUG

#define DEBUG (   y)
Value:
if (QTRACE(Debug)) \
{OssCsiTrace.Beg(epname); std::cerr <<y; OssCsiTrace.End();}
#define QTRACE(act)
Definition XrdOssCsiTrace.hh:47

◆ EPNAME

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

◆ QTRACE

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

◆ TRACE

#define TRACE (   act,
 
)
Value:
if (QTRACE(act)) \
{OssCsiTrace.Beg(epname,tident); std::cerr <<x; OssCsiTrace.End();}

◆ TRACE_ALL

#define TRACE_ALL   0x0fff

◆ TRACE_Debug

#define TRACE_Debug   0x0800

◆ TRACE_Info

#define TRACE_Info   0x0002

◆ TRACE_Warn

#define TRACE_Warn   0x0001

◆ TRACEReturn

#define TRACEReturn (   type,
  ecode,
  msg 
)     {TRACE(type, "err " <<ecode <<msg); return ecode;}