#include <elog/log.hpp>Go to the source code of this file.
Macros | |
| #define | EGAMI_BASE(info, data) ELOG_BASE(egami::getLogId(),info,data) |
| #define | EGAMI_CRITICAL(data) EGAMI_BASE(1, data) |
| #define | EGAMI_ERROR(data) EGAMI_BASE(2, data) |
| #define | EGAMI_WARNING(data) EGAMI_BASE(3, data) |
| #define | EGAMI_INFO(data) do { } while(false) |
| #define | EGAMI_DEBUG(data) do { } while(false) |
| #define | EGAMI_VERBOSE(data) do { } while(false) |
| #define | EGAMI_TODO(data) do { } while(false) |
| #define | EGAMI_ASSERT(cond, data) |
Functions | |
| int32_t | egami::getLogId () |
Detailed Description
- Copyright
- 2011, Edouard DUPIN, all right reserved
- Note
- License: APACHE v2.0 (see license file)
Macro Definition Documentation
§ EGAMI_ASSERT
| #define EGAMI_ASSERT | ( | cond, | |
| data | |||
| ) |
Value:
do { \
if (!(cond)) { \
EGAMI_CRITICAL(data); \
assert(!#cond); \
} \
} while (0)
1.8.12