aboutsummaryrefslogtreecommitdiffstats
path: root/al/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'al/debug.h')
-rw-r--r--al/debug.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/al/debug.h b/al/debug.h
index a268f690..23b0ca1b 100644
--- a/al/debug.h
+++ b/al/debug.h
@@ -1,4 +1,13 @@
#ifndef AL_DEBUG_H
#define AL_DEBUG_H
+#include <stdint.h>
+
+
+/* Somewhat arbitrary. Avoid letting it get out of control if the app enables
+ * logging but never reads it.
+ */
+constexpr uint8_t MaxDebugLoggedMessages{64};
+constexpr uint16_t MaxDebugMessageLength{1024};
+
#endif /* AL_DEBUG_H */