46 inline void Assert(
bool value, std::string_view message =
"Assert failed")
60 spdlog::critical(std::basic_string(message));
94 inline void AlwaysAssert(
bool value, std::string_view message =
"Assert failed")
103 spdlog::critical(std::basic_string(message));
118 throw std::runtime_error(std::basic_string(message));
Contains debugging-related macros and utilities for assisting with debugging tasks.
#define MAL_TOOLKIT_ASSERT_ABORTS
Controls whether assertions should result in program abortion.
#define MAL_TOOLKIT_ASSERT_ENABLED
#define MAL_TOOLKIT_ASSERT_LOGS
Indicates whether assertion logs are enabled (1) or disabled (0).