1#ifndef __XRDSSILOGGER_HH__
2#define __XRDSSILOGGER_HH__
53static void Msg(
const char *pfx,
const char *txt1,
54 const char *txt2=0,
const char *txt3=0);
68static void Msgf(
const char *pfx,
const char *fmt, ...);
82static void Msgv(
const char *pfx,
const char *fmt, va_list aP);
92static void Msgv(
struct iovec *iovP,
int iovN);
111typedef void (
MCB_t)(
struct timeval const &mtime,
127#define SSI_LOG(x) {std::cerr <<XrdSSiLogger::TBeg() <<x; XrdSsiLogger::TEnd();}
128#define SSI_SAY(x) {XrdSSiLogger::TBeg();std::cerr <<x; XrdSsiLogger::TEnd();}
Definition XrdSsiLogger.hh:41
mcbType
Definition XrdSsiLogger.hh:116
@ mcbClient
Definition XrdSsiLogger.hh:116
@ mcbAll
Definition XrdSsiLogger.hh:116
@ mcbServer
Definition XrdSsiLogger.hh:116
void() MCB_t(struct timeval const &mtime, unsigned long tID, const char *msg, int mlen)
Length of message text.
Definition XrdSsiLogger.hh:111
static void Msgf(const char *pfx, const char *fmt,...)
static const char * TBeg()
static void Msgv(const char *pfx, const char *fmt, va_list aP)
static void Msg(const char *pfx, const char *txt1, const char *txt2=0, const char *txt3=0)
~XrdSsiLogger()
Definition XrdSsiLogger.hh:138
static void Msgv(struct iovec *iovP, int iovN)
XrdSsiLogger()
Constructor and destructor.
Definition XrdSsiLogger.hh:137
static bool SetMCB(MCB_t &mcbP, mcbType mcbt=mcbAll)