#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:
This graph shows which files directly or indirectly include this file:
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) |
|
|
|
|
|
Value: { \ ostringstream outs;\ outs << where << ": " << what; \ XrdClientDebug::Instance()->TraceStream((short)XrdClientDebug::kNODEBUG, outs);\ } |
|
Value: { \ XrdClientDebug::Instance()->Lock();\ if (XrdClientDebug::Instance()->GetDebugLevel() >= lvl) {\ ostringstream outs;\ outs << where << ": " << what; \ XrdClientDebug::Instance()->TraceStream((short)lvl, outs);\ }\ XrdClientDebug::Instance()->Unlock();\ } |