Difference between revisions of "USERLOG()"

From Recital Documentation Wiki
Jump to: navigation, search
Line 1: Line 1:
=USERLOG()=
 
 
 
 
==Class==
 
==Class==
 
Error Trapping and Debugging
 
Error Trapping and Debugging
Line 32: Line 29:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Error Handling and Debugging]]
 +
[[Category:Error Handling and Debugging Functions]]

Revision as of 14:59, 2 June 2009

Class

Error Trapping and Debugging


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