diff options
author | Chris Robinson <[email protected]> | 2023-04-30 17:46:18 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-04-30 17:46:18 -0700 |
commit | 22077687cf4b9fdfd29d78debc2daf044deee81d (patch) | |
tree | fc9aab402ea9e33f7cec2e1ef1dfa98203665578 /al/debug.h | |
parent | f2a0df87916de7b9fa8b65a52814c9a09fc6bee9 (diff) |
Implement debug log storage
Diffstat (limited to 'al/debug.h')
-rw-r--r-- | al/debug.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 */ |