NetErrorLogWrite or Net32ErrorLogWrite

The NetErrorLogWrite (local) API writes an entry to the error log file. Using the OS/2 program, the entry goes in the NET.ERR file.