#include <XrdSysError.hh>
Public Member Functions | |
XrdSysError (XrdSysLogger *lp, const char *ErrPrefix="sys") | |
~XrdSysError () | |
int | baseFD () |
void | Emsg (const char *esfx, const char *text1, const char *text2=0, const char *text3=0) |
int | Emsg (const char *esfx, int ecode, const char *text1, const char *text2=0) |
int | getMsgMask () |
void | Log (int mask, const char *esfx, const char *text1, const char *text2=0, const char *text3=0) |
XrdSysLogger * | logger (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) |
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) |
Definition at line 89 of file XrdSysError.hh.
|
inline |
Definition at line 92 of file XrdSysError.hh.
References SetPrefix().
|
inline |
Definition at line 99 of file XrdSysError.hh.
|
inlinestatic |
Definition at line 106 of file XrdSysError.hh.
Referenced by XrdOssSys::Configure().
int XrdSysError::baseFD | ( | ) |
Definition at line 73 of file XrdSysError.cc.
|
static |
Definition at line 79 of file XrdSysError.cc.
References XrdSysError_Table::Lookup(), and XrdSysE2T().
Referenced by Emsg(), and XrdOucERoute::Format().
void XrdSysError::Emsg | ( | const char * | esfx, |
const char * | text1, | ||
const char * | text2 = 0, | ||
const char * | text3 = 0 ) |
Definition at line 117 of file XrdSysError.cc.
References Set_IOV_Buff, and Set_IOV_Item.
int XrdSysError::Emsg | ( | const char * | esfx, |
int | ecode, | ||
const char * | text1, | ||
const char * | text2 = 0 ) |
Definition at line 95 of file XrdSysError.cc.
References ec2text(), Set_IOV_Buff, and Set_IOV_Item.
Referenced by XrdOuca2x::a2fm(), XrdOuca2x::a2fm(), XrdOuca2x::a2i(), XrdOuca2x::a2ll(), XrdOuca2x::a2sn(), XrdOuca2x::a2sp(), XrdOuca2x::a2sz(), XrdOuca2x::a2tm(), XrdOuca2x::a2vp(), XrdNetSocket::Accept(), Macaroons::Handler::Config(), XrdNetPMarkCfg::Config(), XrdAccConfig::ConfigDB(), XrdOssSys::ConfigProc(), XrdOssSys::ConfigStage(), XrdOssSys::ConfigStageC(), XrdBwm::Configure(), XrdCephOss::Configure(), XrdOfs::Configure(), XrdOssSys::Configure(), XrdVomsMapfile::Configure(), XrdOfs::ConfigXeq(), XrdOssSys::ConfigXeq(), XrdTlsTempCA::TempCAGuard::create(), XrdPollE::Disable(), XrdPollPoll::Disable(), XrdPollPoll::doDetach(), XrdPollE::Enable(), XrdPollPoll::Enable(), XrdPollE::Exclude(), XrdPollPoll::Exclude(), XrdPollE::Include(), XrdPollPoll::Include(), XrdOfsEvr::Init(), XrdOucN2N::lfn2pfn(), Log(), XrdXrootdAdmin::Login(), main(), XrdPoll::newPoller(), XrdOfsEvs::Parse(), XrdOucPsx::ParseCache(), XrdOucPsx::ParseCio(), XrdOucPsx::ParseCLib(), XrdOucExport::ParseDefs(), XrdHttpProtocol::parseHeader2CGI(), XrdOucPsx::ParseINet(), XrdOucPsx::ParseMLib(), XrdOucPsx::ParseNLib(), XrdOucExport::ParsePath(), XrdOucPsx::ParseSet(), XrdOucPsx::ParseTrace(), XrdOucERoute::Route(), TagPath::SetPrefix(), XrdOucProg::Setup(), XrdBwmLogger::Start(), XrdOfsEvs::Start(), XrdPollE::Start(), XrdPollPoll::Start(), XrdOssSys::xalloc(), XrdOssSys::xcachescan(), XrdOssSys::xfdlimit(), XrdOssSys::xmaxsz(), XrdOssSys::xmemf(), XrdOssSys::xnml(), xonmissing(), XrdOssSys::xpath(), XrdOssSys::xprerd(), XrdAccAuthorizeObjAdd(), XrdAccAuthorizeObject(), XrdHttpGetExtHandler(), XrdHttpGetExtHandler(), XrdOssAddStorageSystem2(), XrdSysThread_Xeq(), XrdOssSys::xspace(), XrdOssSys::xspace(), XrdOssSys::xspaceBuild(), XrdOssSys::xstg(), XrdOssSys::xstl(), XrdOssSys::xtrace(), XrdOssSys::xusage(), and XrdOssSys::xxfr().
|
inline |
Definition at line 156 of file XrdSysError.hh.
Referenced by XrdVomsMapfile::Configure().
|
inline |
Definition at line 133 of file XrdSysError.hh.
References Emsg().
|
inline |
Definition at line 141 of file XrdSysError.hh.
Referenced by TPC::TPCHandler::TPCHandler(), XrdScheduler::XrdScheduler(), XrdOssSys::ConfigStage(), XrdOssSys::ConfigStatLib(), XrdHttpProtocol::Configure(), XrdXrootdProtocol::Configure(), XrdCmsConfig::Configure0(), and XrdSysGetXAttrObject().
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 ) |
Definition at line 141 of file XrdSysError.cc.
References Set_IOV_Buff, and Set_IOV_Item.
Referenced by Macaroons::Handler::Config(), XrdNetPMarkCfg::Config(), XrdOfs::Config_Display(), XrdOssSys::Config_Display(), XrdAccConfig::ConfigDB(), XrdOssSys::ConfigMio(), XrdOssSys::ConfigProc(), XrdOssSys::ConfigSpace(), XrdOssSys::ConfigSpath(), XrdOssSys::ConfigStage(), XrdAccConfig::Configure(), XrdBwm::Configure(), XrdOfs::Configure(), XrdOssSys::Configure(), XrdBwm::ConfigXeq(), XrdOfs::ConfigXeq(), XrdOssSys::ConfigXeq(), XrdOssMio::Display(), XrdSecEntity::Display(), XrdOssCsiConfig::Init(), XrdOssCache::List(), XrdOssSys::List_Path(), XrdNetPMarkCfg::Parse(), XrdOfsEvs::Parse(), XrdOucPsx::ParseCLib(), XrdOucPsx::ParseSet(), XrdOucPsx::ParseTrace(), XrdOssSys::xcache(), XrdOssSys::xmemf(), XrdDigGetFS(), XrdgetProtocol(), XrdOucGetCache(), XrdSfsGetFileSystem(), XrdOssSys::xspace(), XrdOssSys::xspaceBuild(), and XrdOssSys::xtrace().
|
inline |
Definition at line 154 of file XrdSysError.hh.
Referenced by Macaroons::Handler::Config(), and XrdVomsMapfile::Configure().
|
inline |
Definition at line 160 of file XrdSysError.hh.
Referenced by XrdSysError().
void XrdSysError::TBeg | ( | const char * | txt1 = 0, |
const char * | txt2 = 0, | ||
const char * | txt3 = 0 ) |
Definition at line 161 of file XrdSysError.cc.
void XrdSysError::TEnd | ( | ) |
Definition at line 173 of file XrdSysError.cc.