dcrp_log_status

Logs a message to your CIMPLICITY project's Status Log.

Syntax

void dcrp_log_status(int status,
                     char *module,
                     int reference,
                     int log,
                     char *message)

Input Parameters

status

Contains the status of the action to be logged. Valid values are:

  • TOOLKIT_SUCCESS
  • TOOLKIT_WARNING
  • TOOLKIT_FAILURE

module

Contains the name of module logging the information (only first 16 characters are printed).

reference

Is the internal reference number/value for the logged information.

log

Defines the disposition of the message. Valid values are:

TRUE Causes the information to be logged to the Status Log and the . err file for the process.
FALSE Causes the information to be logged to the Status Log.
FATAL Indicates a fatal error. The information is logged to the Status Log and the .err file for the process, then the process exits.

message

Contains the message to be logged. The message should be no longer than 79 characters and should not contain special characters such as control characters or new lines.

Output Parameters

None

Return Value

None