23.14 LOG_PAGE_SESSION_STATE Procedure

This procedure logs the session's item values.

Syntax

APEX_DEBUG.LOG_PAGE_SESSION_STATE (
    p_page_id   IN  NUMBER      DEFAULT NULL, 
    p_enabled   IN  BOOLEAN     DEFAULT FALSE, 
    p_level     IN  t_log_level DEFAULT c_log_level_app_trace )

Parameters

Parameter Description
p_page_id Identifies a page within the current applicaton and workspace context.
p_enabled Messages are logged when logging is enabled. TRUE enables logging.
p_level Identifies the level of the log message where 1 is most important, 9 is least important. Must be an integer value.

Example

This example enables debug message logging for 1 and 2 level messages and display a level 1 message containing all the session state for the application's current page. Note the p_enabled parameter need not be specified, as debugging has been explicitly enabled and the default of FALSE for this parameter respects this enabling. Also note the p_page_id has not been specified, as this example just shows session state information for the application's current page.

BEGIN
    APEX_DEBUG.ENABLE (p_level => 2);
    
    APEX_DEBUG.LOG_PAGE_SESSION_STATE (p_level => 1);
    
END;