#include <string>
#include <sstream>
#include <iostream>
Go to the source code of this file.
#define NMDebugCtx |
( |
|
ctx, |
|
|
|
arg |
|
) |
| |
#define NMDebugInd |
( |
|
level, |
|
|
|
arg |
|
) |
| |
#define NMDebugTime |
( |
|
arg | ) |
|
#define NMDebugTimeCtx |
( |
|
ctx, |
|
|
|
arg |
|
) |
| |
#define NMDebugTimeInd |
( |
|
level, |
|
|
|
arg |
|
) |
| |
#define NMErr |
( |
|
context, |
|
|
|
arg |
|
) |
| |
Value:{ \
std::ostringstream str; \
str << "ERROR - " << context << "::" << \
__FUNCTION__ << ", l. " << \
__LINE__ << ": " arg; \
std::cerr << str.str() << std::endl; \
}
Value:{ \
std::ostringstream str; \
str arg; \
std::cout << str.str() << std::endl; \
}