For error reporting and logging, all NLMs use the NetWareAlert function, which allows you to put error messages to the system console screen and log them in the sys$err.log file.