Application Programming Interface Guide > Built-in Procedures > Procedures Reference > LogError
 
LogError
Write the text you provide to the log file, with severity level ERROR.
Location
/lib/debug/
Syntax
logError (IN textToLog VARCHAR (4096))
Input
textToLog: The text to write to the log.
Outputs
N/A
Exceptions
N/A
Example
PROCEDURE proc2()
BEGIN
CALL logError('There is an error.');
END