JAVA/CORBA CLASSES


Log class
Example

Enables you to record actions and errors that take place during a program's execution. You can record actions and errors in:


Syntax

public class Log extends Base

Containment

Contained by: Session

Properties

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

Methods

close

logAction

logError

logEvent

openAgentLog

openFileLog

openMailLog

openNotesLog

recycle

toString

Creation

To create a new log, use createLog in Session.

Usage

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:


Example
See Also