|
Compounds |
| class | debug |
| | An internal class used to implement the debugging framework. More...
|
| struct | ltstr |
Defines |
| #define | NMSTL_DEBUG_FILE_H __FILE__ |
| #define | NMSTL_DEBUG_LEVEL ({ static int l = debug::get().get_level_for_file(NMSTL_DEBUG_FILE_H); l; }) |
| #define | NMSTL_IF_DEBUG (NMSTL_DEBUG_LEVEL >= debug_msg::level) |
| #define | NMSTL_DEBUG(level) (NMSTL_DEBUG_LEVEL >= debug_msg::level) && debug::get() ^ debug_msg(__FILE__, __LINE__, __PRETTY_FUNCTION__, debug_msg::level, 0) |
| #define | DEBUG NMSTL_DEBUG(debug) |
| #define | INFO NMSTL_DEBUG(info) |
| #define | NOTICE NMSTL_DEBUG(notice) |
| #define | WARN NMSTL_DEBUG(warn) |
| #define | ERROR NMSTL_DEBUG(error) |
| #define | CRIT NMSTL_DEBUG(crit) |
| #define | ALERT NMSTL_DEBUG(alert) |
| #define | FATAL NMSTL_DEBUG(fatal) |
| #define | COREDUMP NMSTL_DEBUG(coredump) |
| #define | ASSERT(a) ((a) || (COREDUMP << "Assertion failed: " #a, true)) |
Variables |
| | NMSTL_NAMESPACE_BEGIN |
| | NMSTL_NAMESPACE_END |