xrootd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros
XrdSsiLogger.hh File Reference
#include <cstdarg>
Include dependency graph for XrdSsiLogger.hh:

Go to the source code of this file.

Classes

class  XrdSsiLogger
 

Macros

#define SSI_LOG(x)   {cerr <<XrdSSiLogger::TBeg() <<x; XrdSsiLogger::TEnd();}
 
#define SSI_SAY(x)   {XrdSSiLogger::TBeg();cerr <<x; XrdSsiLogger::TEnd();}
 

Macro Definition Documentation

#define SSI_LOG (   x)    {cerr <<XrdSSiLogger::TBeg() <<x; XrdSsiLogger::TEnd();}

Define helper functions to allow ostream cerr output to appear in the log. The following two functions are used with the macros below. The SSI_LOG macro preceedes the message with a time stamp; SSI_SAY does not. The endl ostream output item is automatically added to all output!

#define SSI_SAY (   x)    {XrdSSiLogger::TBeg();cerr <<x; XrdSsiLogger::TEnd();}