showToConsole#
Fully qualified name: 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
trueto cause an assertion message to be printed to the console when an assertion fails. Set tofalseto prevent the assertion message from showing. The assertion message is shown by default.- Returns:
The previous value of the
showToConsoleflag, in other words:trueif show-to-console was previously enabled;falseif show-to-console was previously disabled.