xrootd
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | List of all members
XrdSysError Class Reference

#include <XrdSysError.hh>

Collaboration diagram for XrdSysError:
Collaboration graph
[legend]

Public Member Functions

 XrdSysError (XrdSysLogger *lp, const char *ErrPrefix="sys")
 
 ~XrdSysError ()
 
int baseFD ()
 
int Emsg (const char *esfx, int ecode, const char *text1, const char *text2=0)
 
void Emsg (const char *esfx, const char *text1, const char *text2=0, const char *text3=0)
 
void Log (int mask, const char *esfx, const char *text1, const char *text2=0, const char *text3=0)
 
XrdSysLoggerlogger (XrdSysLogger *lp=0)
 
void Say (const char *text1, const char *text2=0, const char *txt3=0, const char *text4=0, const char *text5=0, const char *txt6=0)
 
void setMsgMask (int mask)
 
int getMsgMask ()
 
const char * SetPrefix (const char *prefix)
 
void TBeg (const char *txt1=0, const char *txt2=0, const char *txt3=0)
 
void TEnd ()
 

Static Public Member Functions

static void addTable (XrdSysError_Table *etp)
 
static const char * ec2text (int ecode)
 

Private Attributes

const char * epfx
 
int epfxlen
 
int msgMask
 
XrdSysLoggerLogger
 

Static Private Attributes

static XrdSysError_Tableetab
 

Constructor & Destructor Documentation

◆ XrdSysError()

XrdSysError::XrdSysError ( XrdSysLogger lp,
const char *  ErrPrefix = "sys" 
)
inline

References SetPrefix().

◆ ~XrdSysError()

XrdSysError::~XrdSysError ( )
inline

Member Function Documentation

◆ addTable()

static void XrdSysError::addTable ( XrdSysError_Table etp)
inlinestatic

References etab, and XrdSysError_Table::next.

◆ baseFD()

int XrdSysError::baseFD ( )

◆ ec2text()

static const char * XrdSysError::ec2text ( int  ecode)
static

◆ Emsg() [1/2]

void XrdSysError::Emsg ( const char *  esfx,
const char *  text1,
const char *  text2 = 0,
const char *  text3 = 0 
)

◆ Emsg() [2/2]

int XrdSysError::Emsg ( const char *  esfx,
int  ecode,
const char *  text1,
const char *  text2 = 0 
)

Referenced by Log(), and TagPath::SetPrefix().

◆ getMsgMask()

int XrdSysError::getMsgMask ( )
inline

References msgMask.

◆ Log()

void XrdSysError::Log ( int  mask,
const char *  esfx,
const char *  text1,
const char *  text2 = 0,
const char *  text3 = 0 
)
inline

References Emsg(), and msgMask.

◆ logger()

XrdSysLogger * XrdSysError::logger ( XrdSysLogger lp = 0)
inline

References Logger.

◆ Say()

void XrdSysError::Say ( const char *  text1,
const char *  text2 = 0,
const char *  txt3 = 0,
const char *  text4 = 0,
const char *  text5 = 0,
const char *  txt6 = 0 
)

◆ setMsgMask()

void XrdSysError::setMsgMask ( int  mask)
inline

References msgMask.

◆ SetPrefix()

const char * XrdSysError::SetPrefix ( const char *  prefix)
inline

References epfx, and epfxlen.

Referenced by XrdSysError().

◆ TBeg()

void XrdSysError::TBeg ( const char *  txt1 = 0,
const char *  txt2 = 0,
const char *  txt3 = 0 
)

Referenced by XrdOucTrace::Beg().

◆ TEnd()

void XrdSysError::TEnd ( )

Referenced by XrdOucTrace::End().

Member Data Documentation

◆ epfx

const char* XrdSysError::epfx
private

Referenced by SetPrefix().

◆ epfxlen

int XrdSysError::epfxlen
private

Referenced by SetPrefix().

◆ etab

XrdSysError_Table* XrdSysError::etab
staticprivate

Referenced by addTable().

◆ Logger

XrdSysLogger* XrdSysError::Logger
private

Referenced by logger().

◆ msgMask

int XrdSysError::msgMask
private

Referenced by getMsgMask(), Log(), and setMsgMask().


The documentation for this class was generated from the following file: