Enables you to record actions and errors that take place during a program's execution. You can record actions and errors in:
public class Log extends Base
Contained by: Session
IsLogActions through isLogActions and setLogActions
IsLogErrors through isLogErrors and setLogErrors
IsOverwriteFile through isOverwriteFile and setOverwriteFile
NumActions through getNumActions
NumErrors through getNumErrors
Parent through getParent
ProgramName through getProgramName and setProgramName
To create a new log, use createLog in Session.
Once you create a log, you use one of the following methods to open it before you begin logging:
You must explicitly log each action and error using the following methods:
Actions and errors are not automatically logged.
System.out writes to an Events document ("Miscellaneous Events" view) in the log.nsf database where the code executes for:
See examples