#include <XrdClientDebug.hh>
Public Types | |
enum | |
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 |
Definition at line 51 of file XrdClientDebug.hh.
anonymous enum |
Definition at line 68 of file XrdClientDebug.hh.
XrdClientDebug::XrdClientDebug | ( | ) | [protected] |
Definition at line 33 of file XrdClientDebug.cc.
References EnvGetLong, fDbgLevel, fOucErr, fOucLog, NAME_DEBUG, XrdSysError, and XrdSysLogger.
XrdClientDebug::~XrdClientDebug | ( | ) | [protected] |
short XrdClientDebug::GetDebugLevel | ( | ) | [inline] |
Definition at line 75 of file XrdClientDebug.hh.
References fDbgLevel, fMutex, and m.
Referenced by TraceStream(), and TraceString().
XrdClientDebug * XrdClientDebug::Instance | ( | ) | [static] |
Definition at line 20 of file XrdClientDebug.cc.
References fgInstance.
Referenced by XrdClientUrlSet::XrdClientUrlSet().
void XrdClientDebug::SetLevel | ( | int | l | ) | [inline] |
void XrdClientDebug::TraceStream | ( | short | DbgLvl, | |
ostringstream & | s | |||
) | [inline] |
Definition at line 87 of file XrdClientDebug.hh.
References XrdSysError::Emsg(), fMutex, fOucErr, GetDebugLevel(), and m.
void XrdClientDebug::TraceString | ( | short | DbgLvl, | |
char * | s | |||
) | [inline] |
Definition at line 98 of file XrdClientDebug.hh.
References XrdSysError::Emsg(), fMutex, fOucErr, GetDebugLevel(), and m.
void XrdClientDebug::Lock | ( | ) | [inline] |
void XrdClientDebug::Unlock | ( | ) | [inline] |
short XrdClientDebug::fDbgLevel [private] |
Definition at line 53 of file XrdClientDebug.hh.
Referenced by GetDebugLevel(), SetLevel(), and XrdClientDebug().
XrdSysLogger* XrdClientDebug::fOucLog [private] |
Definition at line 55 of file XrdClientDebug.hh.
Referenced by XrdClientDebug(), and ~XrdClientDebug().
XrdSysError* XrdClientDebug::fOucErr [private] |
Definition at line 56 of file XrdClientDebug.hh.
Referenced by TraceStream(), TraceString(), XrdClientDebug(), and ~XrdClientDebug().
XrdClientDebug * XrdClientDebug::fgInstance [static, private] |
XrdSysRecMutex XrdClientDebug::fMutex [private] |
Definition at line 60 of file XrdClientDebug.hh.
Referenced by GetDebugLevel(), Lock(), SetLevel(), TraceStream(), TraceString(), and Unlock().