The sysLib.errorLog() system function copies text into the error log that the sysLib.startLog() system function started.
If you do not run sysLib.startLog() first, sysLib.errorLog() has no effect.
EGL automatically precedes each entry with the time and date on a separate line. See "Example" in this topic.
sysLib.errorLog(text STRING in)
The following example shows the sysLib.errorLog() command:
startLog("D:\\temp\\myLog.txt");
errorLog("Test entry.");
Dec 28, 2006 9:01:04 AM
Test entry.
| Platform | Issue |
|---|---|
| COBOL generation | The errorLog() function is not supported |
| JavaScript generation | The errorLog() function is not supported |