adTempus API
PreviousUpNext
IApplication::StartLogging Method

Starts diagnostic logging.

C++
HRESULT StartLogging();
C#
StartLogging();
Visual Basic
Sub StartLogging()

adTempus uses a diagnostic logging mechanism to help in tracking down unexpected or internal errors in adTempus. We recommend that you enable logging for your application so that the log is available if a problem occurs. 

To enable this logging, specify a LogPath and LogName and leave the LoggingLevel set to 0. adTempus will create a new log file each time you call StartLogging. Ordinarily adTempus will not write any data to the log. If an error occurs, error and context information will be written to the log. Logging rolls over to a new file each day, or if a file exceeds a maximum size. Logs are automatically deleted after 7 days.

adTempus API Reference version 3.0.0.0, revised 10/30/2008