Difference between revisions of "USERLOG()"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 15: Line 15:
  
 
==See Also==
 
==See Also==
[[DB_USERLOG]], [[ERRNO()]], [[ERROR()]], [[LINENO()]], [[MESSAGE ()]], [[ON ERROR]], [[RETRY]]
+
[[DB_USERLOG]], [[ERRNO()]], [[ERROR()]], [[LINENO()]], [[MESSAGE()]], [[ON ERROR]], [[RETRY]]
  
  

Revision as of 14:35, 20 March 2009

USERLOG()

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