48{
49public:
50
51XrdSysTrace& Beg(
const char *usr=0,
const char *epn=0,
const char *txt=0);
52
54
56
57typedef void (*msgCB_t)(const char *tid, const char *msg, bool dbgmsg);
58
59void SetLogger(msgCB_t cbP);
60
61inline bool Tracing(int mask) {return (mask & What) != 0;}
62
63 int What;
64
66
70
75
80
82 {return Insert(static_cast<long double>(val));}
84 {return Insert(static_cast<long double>(val));}
86 {return Insert(val);}
87
89
91
93
95 : What(tf), logP(logp), iName(pfx), dPnt(0),
96 dFree(txtMax), vPnt(1), doFmt(
Xrd::
dec) {}
98
99private:
100
102
103static const int iovMax = 16;
104static const int pfxMax = 256;
105static const int txtMax = 256;
106
107static const int doOne =0x01;
108
111const char *iName;
112short dPnt;
113short dFree;
114short vPnt;
116struct iovec ioVec[iovMax];
117char pBuff[pfxMax];
118char dBuff[txtMax];
119};
120#endif
std::ostream & operator<<(std::ostream &os, const XrdOucString s)