Difference between revisions of "USERLOG()"

From Recital Documentation Wiki
Jump to: navigation, search
(Products)
 
Line 22: Line 22:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital, Recital Server
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Error Handling and Debugging]]
 
[[Category:Error Handling and Debugging]]
 
[[Category:Error Handling and Debugging Functions]]
 
[[Category:Error Handling and Debugging Functions]]

Latest revision as of 16:52, 8 December 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, Recital Server