XrdClientDebug Class Reference

#include <XrdClientDebug.hh>

Collaboration diagram for XrdClientDebug:
Collaboration graph
[legend]

List of all members.

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 XrdClientDebugInstance ()

Protected Member Functions

 XrdClientDebug ()
 ~XrdClientDebug ()

Private Attributes

short fDbgLevel
XrdSysLoggerfOucLog
XrdSysErrorfOucErr
XrdSysRecMutex fMutex

Static Private Attributes

static XrdClientDebugfgInstance

Member Enumeration Documentation

anonymous enum
Enumerator:
kNODEBUG 
kUSERDEBUG 
kHIDEBUG 
kDUMPDEBUG 

Constructor & Destructor Documentation

XrdClientDebug::XrdClientDebug (  )  [protected]
XrdClientDebug::~XrdClientDebug (  )  [protected]

Member Function Documentation

short XrdClientDebug::GetDebugLevel (  )  [inline]

References fDbgLevel, and fMutex.

Referenced by TraceStream(), and TraceString().

static XrdClientDebug* XrdClientDebug::Instance (  )  [static]
void XrdClientDebug::Lock (  )  [inline]

References fMutex, and XrdSysMutex::Lock().

void XrdClientDebug::SetLevel ( int  l  )  [inline]

References fDbgLevel, and fMutex.

void XrdClientDebug::TraceStream ( short  DbgLvl,
ostringstream &  s 
) [inline]
void XrdClientDebug::TraceString ( short  DbgLvl,
char *  s 
) [inline]
void XrdClientDebug::Unlock (  )  [inline]

References fMutex, and XrdSysMutex::UnLock().


Member Data Documentation

short XrdClientDebug::fDbgLevel [private]

Referenced by GetDebugLevel(), and SetLevel().

Referenced by TraceStream(), and TraceString().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 16 Jul 2020 for xrootd by  doxygen 1.6.1