xrootd
|
#include <XrdClientDebug.hh>
Public Types | |
enum | { kNODEBUG = 0, kUSERDEBUG = 1, kHIDEBUG = 2, kDUMPDEBUG = 3 } |
Public Member Functions | |
short | GetDebugLevel () |
void | SetLevel (int l) |
void | TraceStream (short DbgLvl, ostringstream &s) |
void | TraceString (short DbgLvl, char *s) |
void | Lock () |
void | Unlock () |
Static Public Member Functions | |
static XrdClientDebug * | Instance () |
Protected Member Functions | |
XrdClientDebug () | |
~XrdClientDebug () | |
Private Attributes | |
short | fDbgLevel |
XrdSysLogger * | fOucLog |
XrdSysError * | fOucErr |
XrdSysRecMutex | fMutex |
Static Private Attributes | |
static XrdClientDebug * | fgInstance = 0 |
XrdClientDebug::XrdClientDebug | ( | ) | [protected] |
References EnvGetLong, fDbgLevel, fOucErr, fOucLog, and NAME_DEBUG.
Referenced by Instance().
XrdClientDebug::~XrdClientDebug | ( | ) | [protected] |
References fgInstance, fOucErr, and fOucLog.
short XrdClientDebug::GetDebugLevel | ( | ) | [inline] |
Referenced by XrdClientUrlSet::XrdClientUrlSet().
XrdClientDebug * XrdClientDebug::Instance | ( | ) | [static] |
References fgInstance, and XrdClientDebug().
Referenced by XrdClientUrlSet::XrdClientUrlSet().
void XrdClientDebug::Lock | ( | ) | [inline] |
void XrdClientDebug::SetLevel | ( | int | l | ) | [inline] |
void XrdClientDebug::TraceStream | ( | short | DbgLvl, |
ostringstream & | s | ||
) | [inline] |
void XrdClientDebug::TraceString | ( | short | DbgLvl, |
char * | s | ||
) | [inline] |
void XrdClientDebug::Unlock | ( | ) | [inline] |
short XrdClientDebug::fDbgLevel [private] |
Referenced by XrdClientDebug().
XrdClientDebug * XrdClientDebug::fgInstance = 0 [static, private] |
Referenced by Instance(), and ~XrdClientDebug().
XrdSysRecMutex XrdClientDebug::fMutex [private] |
XrdSysError* XrdClientDebug::fOucErr [private] |
Referenced by XrdClientDebug(), and ~XrdClientDebug().
XrdSysLogger* XrdClientDebug::fOucLog [private] |
Referenced by XrdClientDebug(), and ~XrdClientDebug().