SetLogMask(LogMask As Long)

Application object

Sets the bit mask that determines which events to log:

Bit no.

Meaning

1

All events fired. Even the events that are not handled are logged.

2

All events that have a handler. You see the result value returned by the handler and any error that occurs.

3

Log all method calls.

4

Reserved for internal use.

5

If set, the log string also contains a time/date stamp.

6– 32

Reserved for future events.

If you set all bits to zero, nothing is logged. This method is used with SetLogDevice.

The Application object