中文解释:lr_set_debug_message函数设置脚本执行的调试消息级别message_lvl。通过设置消息级别,可以确定发送哪些信息。 启
动设置的方法是将LR_SWITCH_ON作为on_off传递,禁用设置的方法是传递LR_SWITCH_OFF。
参数message_level说明:
ant; border-right-width: 0px; list-style-type: none; margin: 10px 0px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; word-break: break-all; border-left-width: 0px; padding-top: 0px"> 日志级别 |
C语言标志 |
值 |
Runtime-setting - Log操作 |
Disabled | LR_MSG_CLASS_DISABLE_LOG | 0 | 不勾选Enable logging |
Brief | LR_MSG_CLASS_BRIEF_LOG | 1 | 勾选Standard log |
Extended Log | LR_MSG_CLASS_EXTENDED_LOG | 16 | 勾选Extended log |
Result Data | LR_MSG_CLASS_RESULT_DATA | 2 | 勾选Data returned by server |
Parameter Substitution | LR_MSG_CLASS_PARAMETERS | 4 | 勾选Parameter substitution |
Full Run-Time Trace | LR_MSG_CLASS_FULL_TRACE | 8 | 勾选 Advanced trace |
Only on error | LR_MSG_CLASS_JIT_LOG_ON_ERROR | 512 | 勾选send messages only when an error occurs |