lr.get_debug_message

Returns the current message logging settings.

JavaScript

function lr.get_debug_message( )

VBScript

Function lr.get_debug_message( )
Example: Debug Message LevelsMessage Functions

The lr.get_debug_message function returns the current log runtime settings . The settings determine what information is sent output. The log settings are specified with the runtime settings dialog, or by using the lr.set_debug_message function.

The debug messages are sent to the output window or log file.

To evaluate the returned value, you can perform a bitwise AND operation. This allows you to determine which options are set.

Return Values

lr.get_debug_message returns runtime message settings for logging. The first table below shows the base values, one of which is always returned. The other tables show values that can be ORed with other values to refine the setting.

Log LevelC Language ConstantsObject Oriented ConstantsValue
DisabledLR_MSG_CLASS_DISABLE_LOGlr.MSG_CLASS_DISABLE_LOG0
BriefLR_MSG_CLASS_BRIEF_LOGlr.MSG_CLASS_BRIEF_LOG1
Extended LogLR_MSG_CLASS_EXTENDED_LOGlr.MSG_CLASS_EXTENDED_LOG16
The following are ORed with the Extended Log message setting used to further refine the setting.   
Result DataLR_MSG_CLASS_RESULT_DATAlr.MSG_CLASS_RESULT_DATA2
Parameter SubstitutionLR_MSG_CLASS_PARAMETERSlr.MSG_CLASS_PARAMETERS4
Full Runtime TraceLR_MSG_CLASS_FULL_TRACElr.MSG_CLASS_FULL_TRACE8
Only on error can be ORed with all other message settings.
Which messages are sent on error depends on the other settings.
   
Only on error.LR_MSG_CLASS_JIT_LOG_ON_ERRORlr.MSG_CLASS_JIT_LOG_ON_ERROR512

Parameterization

Standard parameterization is not available for this function.