LogEvent (NotesLog - LotusScript®)
Sends a Domino® event to the network.
Defined in
Syntax
Call notesLog .LogEvent( message$ , queuename$ , type% , severity% )
Parameters
message$
String. The message to send to the network.
queuename$
String. The name of the queue. Domino® picks a queue if you send an empty string ("").
type%
Constant. Indicates the kind of event being logged. May be any of the following:
EV_ALARM (8)
EV_COMM (1)
EV_MAIL (3)
EV_MISC (6)
EV_REPLICA (4)
EV_RESOURCE (5)
EV_SECURITY (2)
EV_SERVER (7)
EV_UNKNOWN (0)
EV_UPDATE (9)
severity%
Constant. Indicates the severity of the event being logged. May be any of the following:
SEV_FAILURE (2)
SEV_FATAL (1)
SEV_NORMAL (5)
SEV_WARNING1 (3)
SEV_WARNING2 (4)
Usage
Only scripts running on a server can use this method.
This method is a way to post to API event queues and does not affect database, mail, file and agent logs. Using the LogAction or LogError methods has no effect on event logging.