Share this page

# 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.");

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: