stage/include/ost/log.hh File Reference

#include <ostream>
#include <stack>
#include <ost/module_config.hh>

Go to the source code of this file.

Data Structures

class  Logger

Namespaces

namespace  ost

Defines

#define PUSH_VERBOSITY(n)   ::ost::Logger::Instance().PushVerbosityLevel(n)
#define POP_VERBOSITY(n)   ::ost::Logger::Instance().PopVerbosityLevel()
#define LOG_ERROR(m)   ::ost::Logger::Instance()(::ost::Logger::QUIET) << m;
#define LOGN_ERROR(m)   ::ost::Logger::Instance()(::ost::Logger::QUIET) << m << std::endl;
#define LOG_MESSAGE(m)   if(::ost::Logger::Instance().GetLogLevel()>=::ost::Logger::NORMAL) {(::ost::Logger::Instance()(::ost::Logger::NORMAL)) << m ;}
#define LOGN_MESSAGE(m)   if(::ost::Logger::Instance().GetLogLevel()>=::ost::Logger::NORMAL) {(::ost::Logger::Instance()(::ost::Logger::NORMAL)) << m << std::endl;}
#define LOG_VERBOSE(m)   if(::ost::Logger::Instance().GetLogLevel()>=::ost::Logger::VERBOSE) {(::ost::Logger::Instance()(::ost::Logger::VERBOSE)) << m ;}
#define LOGN_VERBOSE(m)   if(::ost::Logger::Instance().GetLogLevel()>=::ost::Logger::VERBOSE) {(::ost::Logger::Instance()(::ost::Logger::VERBOSE)) << m << std::endl;}
#define LOG_DEBUG(m)   if(::ost::Logger::Instance().GetLogLevel()>=::ost::Logger::DEBUG) {(::ost::Logger::Instance()(::ost::Logger::DEBUG)) << m ;}
#define LOGN_DEBUG(m)   if(::ost::Logger::Instance().GetLogLevel()>=::ost::Logger::DEBUG) {(::ost::Logger::Instance()(::ost::Logger::DEBUG)) << m << std::endl;}
#define LOG_DUMP(m)   if(::ost::Logger::Instance().GetLogLevel()>=::ost::Logger::DUMP) {(::ost::Logger::Instance()(::ost::Logger::DUMP)) << m ;}
#define LOGN_DUMP(m)   if(::ost::Logger::Instance().GetLogLevel()>=::ost::Logger::DUMP) {(::ost::Logger::Instance()(::ost::Logger::DUMP)) << m << std::endl;}
#define LOG_TRACE(m)   if(::ost::Logger::Instance().GetLogLevel()>=::ost::Logger::TRACE) {(::ost::Logger::Instance()(::ost::Logger::TRACE)) << m ;}
#define LOGN_TRACE(m)   if(::ost::Logger::Instance().GetLogLevel()>=::ost::Logger::TRACE) {(::ost::Logger::Instance()(::ost::Logger::TRACE)) << m << std::endl;}


Define Documentation

#define LOG_DEBUG (  )     if(::ost::Logger::Instance().GetLogLevel()>=::ost::Logger::DEBUG) {(::ost::Logger::Instance()(::ost::Logger::DEBUG)) << m ;}

Definition at line 73 of file log.hh.

#define LOG_DUMP (  )     if(::ost::Logger::Instance().GetLogLevel()>=::ost::Logger::DUMP) {(::ost::Logger::Instance()(::ost::Logger::DUMP)) << m ;}

Definition at line 86 of file log.hh.

#define LOG_ERROR (  )     ::ost::Logger::Instance()(::ost::Logger::QUIET) << m;

Definition at line 64 of file log.hh.

#define LOG_MESSAGE (  )     if(::ost::Logger::Instance().GetLogLevel()>=::ost::Logger::NORMAL) {(::ost::Logger::Instance()(::ost::Logger::NORMAL)) << m ;}

Definition at line 67 of file log.hh.

#define LOG_TRACE (  )     if(::ost::Logger::Instance().GetLogLevel()>=::ost::Logger::TRACE) {(::ost::Logger::Instance()(::ost::Logger::TRACE)) << m ;}

Definition at line 89 of file log.hh.

#define LOG_VERBOSE (  )     if(::ost::Logger::Instance().GetLogLevel()>=::ost::Logger::VERBOSE) {(::ost::Logger::Instance()(::ost::Logger::VERBOSE)) << m ;}

Definition at line 70 of file log.hh.

#define LOGN_DEBUG (  )     if(::ost::Logger::Instance().GetLogLevel()>=::ost::Logger::DEBUG) {(::ost::Logger::Instance()(::ost::Logger::DEBUG)) << m << std::endl;}

Definition at line 74 of file log.hh.

#define LOGN_DUMP (  )     if(::ost::Logger::Instance().GetLogLevel()>=::ost::Logger::DUMP) {(::ost::Logger::Instance()(::ost::Logger::DUMP)) << m << std::endl;}

Definition at line 87 of file log.hh.

#define LOGN_ERROR (  )     ::ost::Logger::Instance()(::ost::Logger::QUIET) << m << std::endl;

Definition at line 65 of file log.hh.

#define LOGN_MESSAGE (  )     if(::ost::Logger::Instance().GetLogLevel()>=::ost::Logger::NORMAL) {(::ost::Logger::Instance()(::ost::Logger::NORMAL)) << m << std::endl;}

Definition at line 68 of file log.hh.

#define LOGN_TRACE (  )     if(::ost::Logger::Instance().GetLogLevel()>=::ost::Logger::TRACE) {(::ost::Logger::Instance()(::ost::Logger::TRACE)) << m << std::endl;}

Definition at line 90 of file log.hh.

#define LOGN_VERBOSE (  )     if(::ost::Logger::Instance().GetLogLevel()>=::ost::Logger::VERBOSE) {(::ost::Logger::Instance()(::ost::Logger::VERBOSE)) << m << std::endl;}

Definition at line 71 of file log.hh.

#define POP_VERBOSITY (  )     ::ost::Logger::Instance().PopVerbosityLevel()

Definition at line 62 of file log.hh.

#define PUSH_VERBOSITY (  )     ::ost::Logger::Instance().PushVerbosityLevel(n)

Definition at line 61 of file log.hh.


Generated on Fri Jul 2 14:23:05 2010 for OpenStructure by  doxygen 1.5.8