oracle apex debug message

Solutions on MaxInterview for oracle apex debug message by the best coders in the world

showing results for - "oracle apex debug message"
Caterina
18 Jan 2016
1DECLARE
2    l_value varchar2(100) := 'test value';
3    l_long_msg VARCHAR2(32767) := 'output anything up to varchar2 limit';
4BEGIN
5    APEX_DEBUG_MESSAGE.ENABLE_DEBUG_MESSAGES(p_level => 3);  -- 1 is most important
6    APEX_DEBUG_MESSAGE.LOG_MESSAGE(					-- Short message (4000 max)
7        p_message => 'l_value = ' || l_value, p_level => 1 ); 
8    APEX_DEBUG_MESSAGE.LOG_LONG_MESSAGE(
9        p_message => l_long_msg, p_level => 1 );   	-- Long message   
10    APEX_DEBUG.INFO('Information message');
11END;