Classes | |
class | MXALogger_Implementation |
The actual implementation of the logging class. This class should NEVER be instantiated by a program. Use 'MXALogger' instead. More... | |
class | MXALogger |
MXALogger is a wrapper class around the actual implementation class. MXALogger should be used to log debug information into a log file or to std::cout. More... | |
Defines | |
#define | MXALOGGER_METHOD_VARIABLE_INSTANCE MXALogger::Pointer MXA_Global_Logger = MXALogger::instance(); |
#define | MXALOGGER_CLASS_VARIABLE_DECLARATION MXALogger::Pointer MXA_Global_Logger; |
#define | MXALOGGER_CLASS_VARIABLE_INSTANCE MXA_Global_Logger = MXALogger::instance(); |
#define | mxa_log MXA_Global_Logger->mxaLogger |
#define | CHECK_PRECONDITION(stuff) |
#define CHECK_PRECONDITION | ( | stuff | ) |
Value:
if(_isFileBased == false){\ std::cout << stuff; return std::cout;}\ else {\ _out << (stuff); return _out; }
#define mxa_log MXA_Global_Logger->mxaLogger |
Use this macro in order to create a syntax similar to std::cout << style.
#define MXALOGGER_CLASS_VARIABLE_DECLARATION MXALogger::Pointer MXA_Global_Logger; |
Use this macro to declare an instance variable for your class or method.
#define MXALOGGER_CLASS_VARIABLE_INSTANCE MXA_Global_Logger = MXALogger::instance(); |
Uses the default naming scheme for the Global instance of the MXALogger class.
#define MXALOGGER_METHOD_VARIABLE_INSTANCE MXALogger::Pointer MXA_Global_Logger = MXALogger::instance(); |
Use this to get an instance of the Global MXALogger variable