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