21.4 ENABLE Procedure
This procedure turns on debug messaging. You can specify, by level of importance, the types of debug messages that are monitored.
Note:
You only need to call ENABLE
procedure once per page view or page accept.
Syntax
APEX_DEBUG.ENABLE (
p_level IN T_LOG_LEVEL DEFAULT C_LOG_LEVEL_INFO );
Parameters
Table 21-1 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 4 (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;
Parent topic: APEX_DEBUG