ZSQLMonitor

The TZSQLMonitor component allows you to specific actions or events
log the ZEOS database components. The output can also be done in a TMemo or other TString objects.

There is not much work to do to print the log to a file:

sqlMonitor.FileName: = 'C:\MyProgram.log';
sqlMonitor.Active:= True;
sqlMonitor.AutoSave:= True;

Now all activities of the database are logged in this file. This can be called up with any editor.

Properties


Active, AutoSave

Must be set to true for logging.


Filename

The file name of the log. If only one file name is specified, the log is written to the same directory in which the calling program is located.


MaxTraceCount
???


TagA Lazarus standard property for distinguishing components, etc.

Ereignisse


OnLogTrace
und OnTrace
Are not relevant for the output of the log file.

<>

 

© CMBasic.de