CMS 3D CMS Logo

xdaq_compat.h
Go to the documentation of this file.
1 #ifndef XDAQ_COMPAT
2 #define XDAQ_COMPAT
3 
4 #ifndef HAVE_XDAQ
5 #include <string> // std::string
6 #include <stdarg.h> // va_list, va_start
7 #include <ostream> // std::ostream
8 
9 /* Replace log4cplus::Logger */
10 namespace log4cplus{
11  typedef std::ostream* Logger;
12 }
13 
14 namespace toolbox{
15  std::string toString(const char* format, ... );
16 }
17 
18 #endif // HAVE_XDAQ
19 
20 #endif // XDAQ_COMPAT
std::ostream * Logger
Definition: xdaq_compat.h:11
std::string toString(const char *format,...)
Definition: xdaq_compat.cc:4