Difference between revisions of "USERLOG()"

From Recital Documentation Wiki
Jump to: navigation, search
Line 1: Line 1:
==Class==
 
Error Trapping and Debugging
 
 
 
 
==Purpose==
 
==Purpose==
 
To log information to a user-specific log file for debugging or audit trail purposes.
 
To log information to a user-specific log file for debugging or audit trail purposes.

Revision as of 16:57, 28 October 2009

Purpose

To log information to a user-specific log file for debugging or audit trail purposes.


Syntax

USERLOG(<expC>)


See Also

DB_USERLOG, ERRNO(), ERROR(), LINENO(), MESSAGE(), ON ERROR, RETRY


Description

The USERLOG() function is used to log information to a user-specific log file for debugging or audit trail purposes. The USERLOG() function writes the specified character string <expC> into the file specified by the DB_USERLOG environment variable / symbol.


Example

userlog("Entered Main Menu @ " + time())


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer