This procedure turns on debug messaging. You can specify, by level of importance, the types of debug messages that are monitored.
Syntax
APEX_DEBUG.ENABLE ( p_level IN T_LOG_LEVEL DEFAULT C_LOG_LEVEL_INFO );
Parameters
Table 7-1 describes the parameters available in the APEX_DEBUG.ENABLE
procedure.
Table 7-1 APEX_DEBUG.ENABLE Procedure Parameters
Parameter | Description |
---|---|
|
Level or levels of messages to log. Must be an integer from 1 to 9, where level 1 is the most important messages and level 9 (the default) is the least important. Setting to a specific level logs 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 4. Messages at higher levels are not logged.
BEGIN APEX_DEBUG.ENABLE( apex_debug.c_log_level_info); END;