xrootd
|
#include <cstdarg>
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();} |
#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!
#define SSI_SAY | ( | x | ) | {XrdSSiLogger::TBeg();std::cerr <<x; XrdSsiLogger::TEnd();} |