NotesLog (LotusScript)

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

Containment

Contained by: NotesSession

Properties

LogActions

LogErrors

NumActions

NumErrors

OverwriteFile

Parent

ProgramName

Methods

Close

LogAction

LogError

LogEvent

New

OpenAgentLog

OpenFileLog

OpenMailLog

OpenNotesLog

Creation

To create a new log, you can use:

Note: The New method is not supported in COM.

Syntax

Dim variableName As New NotesLog( programName$ )

OR

Set notesLog = New NotesLog( programName$ )

Parameters

programName$

String. A name that identifies the log.

Usage

Once you create a log using New, 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:

Domino does not automatically log actions or errors for you.

The Print statement writes to an Events document ("Miscellaneous Events" view) in the LOG.NSF database where the code executes for:

Example


Additional Documentation | Trademarks |