#include <XrdSysLogging.hh>
◆ XrdSysLogging()
XrdSysLogging::XrdSysLogging |
( |
| ) |
|
|
inline |
Constructor and destructor
◆ ~XrdSysLogging()
XrdSysLogging::~XrdSysLogging |
( |
| ) |
|
|
inline |
◆ Configure()
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.
◆ CopyTrunc()
static int XrdSysLogging::CopyTrunc |
( |
char * |
mbuff, |
|
|
struct iovec * |
iov, |
|
|
int |
iovcnt |
|
) |
| |
|
staticprivate |
◆ EMsg()
static bool XrdSysLogging::EMsg |
( |
XrdSysLogger & |
logr, |
|
|
const char * |
msg |
|
) |
| |
|
staticprivate |
◆ Forward()
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.
◆ getMsg()
static MsgBuff * XrdSysLogging::getMsg |
( |
char ** |
msgTxt, |
|
|
bool |
cont |
|
) |
| |
|
staticprivate |
◆ Send2PI()
static void * XrdSysLogging::Send2PI |
( |
void * |
arg | ) |
|
|
staticprivate |
◆ lclOut
bool XrdSysLogging::lclOut |
|
staticprivate |
◆ lpiTID
pthread_t XrdSysLogging::lpiTID |
|
staticprivate |
◆ maxMsgLen
const int XrdSysLogging::maxMsgLen = SHRT_MAX |
|
staticprivate |
◆ mbDwords
const int XrdSysLogging::mbDwords = (sizeof(MsgBuff)+7)/8*8 |
|
staticprivate |
◆ msgOff
const int XrdSysLogging::msgOff = sizeof(MsgBuff) |
|
staticprivate |
◆ rmtOut
bool XrdSysLogging::rmtOut |
|
staticprivate |
The documentation for this class was generated from the following file: