From 22077687cf4b9fdfd29d78debc2daf044deee81d Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 30 Apr 2023 17:46:18 -0700 Subject: Implement debug log storage --- al/debug.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'al/debug.h') 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 + + +/* 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 */ -- cgit v1.2.3