10.14 LOG_WARN Procedure

This procedure writes a log entry with severity WARN and is to be usedwithin automation code.

Syntax

APEX_AUTOMATION.LOG_WARN (
    p_message   IN VARCHAR2 )

Parameters

Parameter Description
p_message Message to write to the automation log.

Examples

This example writes some log information. The automation uses select * from emp as the automation query.

BEGIN
    IF :SAL > 10000 THEN
        apex_automation.log_warn(
            p_message => 'High Salary found for empno: ' || :EMPNO );
    END IF;
    my_logic_package.process_emp(
        p_empno => :EMPNO,
        p_sal   => :SAL,
        p_depto => :DEPTNO );
END;