errorlog()

Copies the string passed as parameter into the error log file.

Syntax

errorlog(
   text STRING )
  1. text is the character string to be inserted in the error log file.

Usage

The errorlog() function writes the passed string in the current error log file. The error log file is defined by a call to the startlog() function.

Use this function to identify errors in programs and to customize error handling. The error log functions can also be used to trace the way a program is used to improve it, record work habits or help to detect attempts to breach security.