xrootd
Loading...
Searching...
No Matches
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)   {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!

◆ SSI_SAY

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