Use this function to write error status information to the next available record in the CIMPLICITY status log (COR_STATUS.LOG).
Syntax
void cor_logstatus( const TCHAR *proc,
COR_BOOLEAN severe,
COR_STATUS *status )
Input Arguments
proc |
The name of the calling procedure where the error is detected. |
severe |
Is situation severe error (FALSE, TRUE, FATAL). A value of FATAL will cause your application to terminate after the error message has been logged. |
status |
Pointer to the status block (COR_STATUS structure) containing error info. |
Output Arguments
None
Return Value
None
The value is sent to the status log, which is viewed through the Log Viewer application. The err_reported field will be updated to indicate that this error has been logged.
Point Management API general subroutines. |