Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

XrdClientDebug.hh File Reference

#include <sstream>
#include "XrdClient/XrdClientConst.hh"
#include "XrdSys/XrdSysPthread.hh"
#include "XrdClient/XrdClientEnv.hh"
#include "XrdSys/XrdSysHeaders.hh"
#include "XrdSys/XrdSysLogger.hh"
#include "XrdSys/XrdSysError.hh"

Include dependency graph for XrdClientDebug.hh:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  std

Classes

class  XrdClientDebug

Defines

#define DebugLevel()   XrdClientDebug::Instance()->GetDebugLevel()
#define DebugSetLevel(l)   XrdClientDebug::Instance()->SetLevel(l)
#define Info(lvl, where, what)
#define Error(where, what)


Define Documentation

 
#define DebugLevel  )     XrdClientDebug::Instance()->GetDebugLevel()
 

#define DebugSetLevel  )     XrdClientDebug::Instance()->SetLevel(l)
 

#define Error where,
what   ) 
 

Value:

{ \
ostringstream outs;\
outs << where << ": " << what; \
XrdClientDebug::Instance()->TraceStream((short)XrdClientDebug::kNODEBUG, outs);\
}

#define Info lvl,
where,
what   ) 
 

Value:

{ \
XrdClientDebug::Instance()->Lock();\
if (XrdClientDebug::Instance()->GetDebugLevel() >= lvl) {\
ostringstream outs;\
outs << where << ": " << what; \
XrdClientDebug::Instance()->TraceStream((short)lvl, outs);\
}\
XrdClientDebug::Instance()->Unlock();\
}


Generated on Sun Nov 6 13:35:25 2011 for xrootd by  doxygen 1.3.9.1