Previous |
Next |
This procedure turns on debug messaging. You can specify, by level of importance, the types of debug messages that will be monitored.
Note: ENABLE_DEBUG_MESSAGES procedure only needs to be called once per page view or page accept. |
Syntax
APEX_DEBUG_MESSAGE.ENABLE_DEBUG_MESSAGES ( p_level IN NUMBER DEFAULT 7);
Parameters
Table: ENABLE_DEBUG_MESSAGES Parameters describes the parameters available in the ENABLE_DEBUG_MESSAGES
procedure.
ENABLE_DEBUG_MESSAGES Parameters
Parameter | Description |
---|---|
|
Level or levels of messages to log. Must be an integer from 1 to 7, where level 1 is the most important messages and level 7 (the default) is the least important. Setting to a specific level will log messages both at that level and below that level. For example, setting |
Example
This examples shows how to enable logging of messages for levels 1, 2 and 3. Messages at levels 4, 5, 6 and 7 are not logged.
BEGIN APEX_DEBUG_MESSAGE.ENABLE_DEBUG_MESSAGES( p_level => 3); END;