MlpLog.hpp File Reference
MlpLog header file.
More...
#include <iostream>
Go to the source code of this file.
Detailed Description
MlpLog header file.
This file contains MlpLog class declaration.
- Author:
- Petr Vláčil
Define Documentation
#define MLP_LOG_DEBUG |
( |
info |
|
) |
|
Value:do \
{ if (MlpLog::LOG_LEVEL > 6 ) {\
std::cerr << "MLP_LIB_DEBUG: " \
<< __FILE__ << " line: " << __LINE__ \
<< " " << info << std::endl; \
}\
} while (false)
#define MLP_LOG_ERROR |
( |
info |
|
) |
|
Value:do \
{ if (MlpLog::LOG_LEVEL > 2 ) {\
std::cerr << "MLP_LIB_ERROR: " \
<< __FILE__ << " line: " << __LINE__ \
<< " " << info << std::endl; \
}\
} while (false)
#define MLP_LOG_INFO |
( |
info |
|
) |
|
Value:do \
{ if (MlpLog::LOG_LEVEL > 4 ) {\
std::cerr << "MLP_LIB_INFO: " \
<< __FILE__ << " line: " << __LINE__ \
<< " " << info << std::endl; \
}\
} while (false)
#define MLP_LOG_WARNING |
( |
info |
|
) |
|
Value:do \
{ if (MlpLog::LOG_LEVEL > 2 ) {\
std::cerr << "MLP_LIB_WARNING: " \
<< __FILE__ << " line: " << __LINE__ \
<< " " << info << std::endl; \
}\
} while (false)