XRootD
Loading...
Searching...
No Matches
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)
#define SSI_SAY(x)

Macro Definition Documentation

◆ SSI_LOG

#define SSI_LOG ( x)
Value:
{std::cerr <<XrdSSiLogger::TBeg() <<x; XrdSsiLogger::TEnd();}
static void 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)
Value:
{XrdSSiLogger::TBeg();std::cerr <<x; XrdSsiLogger::TEnd();}

Definition at line 128 of file XrdSsiLogger.hh.