summaryrefslogtreecommitdiff
path: root/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'debug.h')
-rw-r--r--debug.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/debug.h b/debug.h
index f3dd9ccd..50f94775 100644
--- a/debug.h
+++ b/debug.h
@@ -135,10 +135,22 @@ void operator delete[](void*, const std::nothrow_t&) throw();
#define assert(x)
#define CONFIRM(x)
-#elif DEBUG_LEVEL >= RELEASE
+#define TRACE_CTOR(cls)
+#define TRACE_DTOR(cls)
+#define TRACE(cat, msg)
+#define TRACE_PUSH(cat, msg)
+#define TRACE_POP(cat, msg)
+
+#elif DEBUG_LEVEL == RELEASE
#define CONFIRM(x)
+#define TRACE_CTOR(cls)
+#define TRACE_DTOR(cls)
+#define TRACE(cat, msg)
+#define TRACE_PUSH(cat, msg)
+#define TRACE_POP(cat, msg)
+
#elif DEBUG_LEVEL >= BETA
#define CONFIRM(x) assert(x)