carb::assert::showToConsole
Defined in carb/assert/AssertUtils.h
-
inline bool carb::assert::showToConsole(bool enabled)
Sets whether a message should be printed out to the console on a failed assertion.
- Parameters
enabled – [in] Set to
true
to cause an assertion message to be printed to the console when an assertion fails. Set tofalse
to prevent the assertion message from showing. The assertion message is shown by default.- Returns
The previous value of the
showToConsole
flag, in other words:true
if show-to-console was previously enabled;false
if show-to-console was previously disabled.