#include <XrdSysLogger.hh>
|
| static int | extLFD [4] = {-1, -1, -1, -1} |
| |
| XrdSysLogger::XrdSysLogger |
( |
int |
ErrFD = STDERR_FILENO, |
|
|
int |
xrotate = 1 |
|
) |
| |
| XrdSysLogger::~XrdSysLogger |
( |
| ) |
|
|
inline |
| int XrdSysLogger::Bind |
( |
const char * |
path, |
|
|
int |
intsec = 0 |
|
) |
| |
| void XrdSysLogger::Flush |
( |
| ) |
|
|
inline |
| int XrdSysLogger::originalFD |
( |
| ) |
|
|
inline |
| void XrdSysLogger::Put |
( |
int |
iovcnt, |
|
|
struct iovec * |
iov |
|
) |
| |
References eFD, eInt, eNow, eNTC, XrdSysMutex::Lock(), Logger_Mutex, ReBind(), Time(), XrdSysMutex::UnLock(), and writev().
Referenced by XrdSysError::Emsg(), and XrdSysError::Say().
| void XrdSysLogger::putEmsg |
( |
char * |
msg, |
|
|
int |
msz |
|
) |
| |
|
private |
| int XrdSysLogger::ReBind |
( |
int |
dorename = 1 | ) |
|
|
private |
References close(), doLFR, eFD, eInt, eKeep, eNow, eNTC, ePath, fcntl(), Filesfx, XrdSysTimer::Midnight(), open(), rename(), stat(), and Trim().
Referenced by Bind(), and Put().
| void XrdSysLogger::setKeep |
( |
long long |
knum | ) |
|
|
inline |
| void XrdSysLogger::setRotate |
( |
int |
onoff | ) |
|
|
inline |
| int XrdSysLogger::Time |
( |
char * |
tbuff | ) |
|
| char* XrdSysLogger::traceBeg |
( |
| ) |
|
|
inline |
| char XrdSysLogger::traceEnd |
( |
| ) |
|
|
inline |
| void XrdSysLogger::Trim |
( |
| ) |
|
|
private |
| int XrdSysLogger::xlogFD |
( |
| ) |
|
| long long XrdSysLogger::eKeep |
|
private |
| time_t XrdSysLogger::eNow |
|
private |
| time_t XrdSysLogger::eNTC |
|
private |
| char* XrdSysLogger::ePath |
|
private |
| int XrdSysLogger::extLFD = {-1, -1, -1, -1} |
|
staticprivate |
| char XrdSysLogger::Filesfx[8] |
|
private |
| char XrdSysLogger::TBuff[24] |
|
private |
The documentation for this class was generated from the following files: