#include <XrdSysLogging.hh>
XrdSysLogging::XrdSysLogging |
( |
| ) |
|
|
inline |
Constructor and destructor
XrdSysLogging::~XrdSysLogging |
( |
| ) |
|
|
inline |
Configure the logger object using the parameters above.
- Parameters
-
logr | Reference to the logger object. |
parms | Reference to the parameters. |
- Returns
- true if successful and false if log could not be configured.
static int XrdSysLogging::CopyTrunc |
( |
char * |
mbuff, |
|
|
struct iovec * |
iov, |
|
|
int |
iovcnt |
|
) |
| |
|
staticprivate |
static bool XrdSysLogging::EMsg |
( |
XrdSysLogger & |
logr, |
|
|
const char * |
msg |
|
) |
| |
|
staticprivate |
static bool XrdSysLogging::Forward |
( |
struct timeval |
mtime, |
|
|
unsigned long |
tID, |
|
|
struct iovec * |
iov, |
|
|
int |
iovcnt |
|
) |
| |
|
static |
Forward a log message to a plugin.
- Parameters
-
mtime | The time the message was generated. |
tID | The thread ID that issued the message. |
iov | The vector describing what to forward. |
iovcnt | The number of elements in iov vector. |
- Returns
- false if the message needs to also be placed in a local log file. true if all processing has completed.
static MsgBuff* XrdSysLogging::getMsg |
( |
char ** |
msgTxt, |
|
|
bool |
cont |
|
) |
| |
|
staticprivate |
static void* XrdSysLogging::Send2PI |
( |
void * |
arg | ) |
|
|
staticprivate |
bool XrdSysLogging::lclOut |
|
staticprivate |
pthread_t XrdSysLogging::lpiTID |
|
staticprivate |
const int XrdSysLogging::maxMsgLen = SHRT_MAX |
|
staticprivate |
const int XrdSysLogging::mbDwords = (sizeof(MsgBuff)+7)/8*8 |
|
staticprivate |
const int XrdSysLogging::msgOff = sizeof(MsgBuff) |
|
staticprivate |
bool XrdSysLogging::rmtOut |
|
staticprivate |
The documentation for this class was generated from the following file: