Example: lr_debug_message
In the following example, lr_debug_message issues a message to the log when at least one of the extended log message flags is set.
lr_set_debug_message(LR_MSG_CLASS_EXTENDED_LOG, LR_SWITCH_ON); . . . rc = lrd_fetch(Csr1, 1, 1, 0, PrintRow3); if (rc>2000) lr_debug_message(LR_MSG_CLASS_RESULT_DATA | LR_MSG_CLASS_PARAMETERS, "Operation failed.");