Terminates the calling application with a message to the log.
Syntax
#include <prlog.h> void PR_NOT_REACHED(const char *_reasonStr);
Parameters
The macro has this parameter:
- reasonStr
- A string that describes why you should not have reached this statement.
Returns
Nothing
Description
This macro writes the specified reason string to the log and terminates the application.
This macro compiles to nothing if compile-time options are not specified to enable logging.