XRootD
XrdSsiLogger.hh File Reference
#include <cstdarg>
+ Include dependency graph for XrdSsiLogger.hh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  XrdSsiLogger
 

Macros

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

Macro Definition Documentation

◆ SSI_LOG

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

Define helper functions to allow std::ostream std::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 std::endl std::ostream output item is automatically added to all output!

Definition at line 127 of file XrdSsiLogger.hh.

◆ SSI_SAY

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

Definition at line 128 of file XrdSsiLogger.hh.