Changeset 10700 for source/ariba/utility/logging
- Timestamp:
- Aug 22, 2012, 2:09:00 PM (12 years ago)
- Location:
- source
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
source
- Property svn:ignore deleted
-
source/ariba
- Property svn:ignore deleted
-
source/ariba/utility
- Property svn:ignore deleted
-
source/ariba/utility/logging
- Property svn:ignore deleted
-
source/ariba/utility/logging/Logging.h
r9894 r10700 44 44 #include "ariba/config.h" 45 45 46 #ifdef HAVE_LOG4CXX _LOGGER_H46 #ifdef HAVE_LOG4CXX 47 47 #include <log4cxx/logger.h> 48 48 #include <log4cxx/basicconfigurator.h> 49 #endif // HAVE_LOG4CXX _LOGGER_H49 #endif // HAVE_LOG4CXX 50 50 51 51 #ifdef LOGCOLORS … … 64 64 65 65 66 #ifdef HAVE_LOG4CXX _LOGGER_H66 #ifdef HAVE_LOG4CXX 67 67 68 68 #define use_logging_h(x) \ … … 89 89 #define logging_classlevel_error(x) {log4cxx::LoggerPtr logger(log4cxx::Logger::getLogger(#x)); if(logger != NULL) logger->setLevel(log4cxx::Level::getError()); } 90 90 91 #else // HAVE_LOG4CXX _LOGGER_H91 #else // HAVE_LOG4CXX 92 92 93 93 #define use_logging_h(x) … … 115 115 #define logging_classlevel_error(x) {std::cout << "individual class logging only available with log4cxx library" << std::endl;} 116 116 117 #endif // HAVE_LOG4CXX _LOGGER_H117 #endif // HAVE_LOG4CXX 118 118 119 119 #endif //LOGGING_H__
Note:
See TracChangeset
for help on using the changeset viewer.