Log setting constants

These constants apply to both the Classic OLE API and the COM API.

Constant

Value

Description

EhAllEvents

1

All events fired.

EhUsedEvents

2

Only events with a handler.

EhMethods

4

All methods used.

EhTimeStamp

16

Time/date stamp.

EhAllEventsAndMethods

5

All events fired and all methods/properties used.

EhAllEventsAndTimeStamp

17

All events fired with a time/date stamp.

EhUsedEventsAndMethods

6

Only events with a handler are logged. All methods used in these event handlers are logged, as well.

EhUsedEventsTimeStamp

18

Only events with a handler with a time/date stamp.

EhMethodsAndTimeStamp

20

All used methods with a time/date stamp.

EhAllEventsAndMethodsAndTimeStamp

21

All events fired, all used methods all with a time/date stamp.

EhUsedEventsAndMethodsAndTimeStamp

22

Only events with a handler are logged. All methods used in these event handlers are logged, as well. Everything logged has a time/date stamp.

Log device constants

Logging examples

Overview of COM API constants