Debug helper.
#include <srl_debug.hpp>
Static Public Member Functions | |
| template<typename ... Args> | |
| static void | AssertScreen (const char *message, const char *file, const char *function, Args...args) |
| Breaks any further execution and shows assert screen. | |
| static void | Print (uint8_t x, uint8_t y, const char *text) |
| Print text on screen at specific location. | |
| template<typename ... Args> | |
| static void | Print (uint8_t x, uint8_t y, const char *text, Args...args) |
| Print text on screen at specific location. | |
| static void | PrintClearLine (const uint8_t line) |
| Clear screen line. | |
| static void | PrintClearScreen () |
| Clear whole screen from text. | |
| static void | PrintColorRestore () |
| Restore previous print color. | |
| static void | PrintColorSet (uint8_t color) |
| Color of the cursor. | |
| static uint8_t | PrintWithWrap (uint8_t x, uint8_t y, const uint8_t fromLeft, const uint8_t fromRight, const char *text) |
| Print text on screen at specific location. | |
| template<typename ... Args> | |
| static uint8_t | PrintWithWrap (uint8_t x, uint8_t y, const uint8_t fromLeft, const uint8_t fromRight, const char *text, Args...args) |
| Print text on screen at specific location. | |
Static Public Attributes | |
| static constexpr bool | Enabled = false |
| Debug functions are disabled. | |