This procedure logs messages at level c_log_level_warn
.
Syntax
APEX_DEBUG.WARN ( p_message IN VARCHAR2, p0 IN VARCHAR2 DEFAULT NULL, p1 IN VARCHAR2 DEFAULT NULL, p2 IN VARCHAR2 DEFAULT NULL, p3 IN VARCHAR2 DEFAULT NULL, p4 IN VARCHAR2 DEFAULT NULL, p5 IN VARCHAR2 DEFAULT NULL, p6 IN VARCHAR2 DEFAULT NULL, p7 IN VARCHAR2 DEFAULT NULL, p8 IN VARCHAR2 DEFAULT NULL, p9 IN VARCHAR2 DEFAULT NULL, p_max_length IN PLS_INTEGER DEFAULT 1000 );
Parameters
Table 10-16 APEX_DEBUG.WARN Procedure Parameters
Parameter | Description |
---|---|
|
The debug message. Occurrences of '%s' are replaced by |
|
Substitution strings for '%s' placeholders. |
|
The |
Example
This example shows how to use APEX_DEBUG.WARN
to log highly important data in the debug log.
apex_debug.warn('Soft constraint %s violated: %s', 4711, sqlerrm);
See Also:
Parent topic: APEX_DEBUG