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


   message STRING )
  1. message is the character string to be inserted in the error log file.


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.

Important: Sensitive data may be written to the startlog() file. Make sure that the log output produced by errorlog() calls is written to files that can only be read by application administrators.

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 in order to improve it, record work habits, or help to detect attempts to breach security.