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:

Go to the source code of this file.

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();\
}

Referenced by XrdCmsRedirLocal::Prepare(), and XrdCmsClient::Prepare().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Feb 2020 for xrootd by  doxygen 1.6.1