RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSQLMonitor.OnLogTrace Event

Occurs immediately after a new message is logged to the list.

Pascal
property OnLogTrace: TTraceLogEvent;
C++
__property TTraceLogEvent OnLogTrace;

Write an OnLogTrace event handler to respond immediately after a new string is added to the TraceList property. For example, you can use this event to periodically save the contents of the list to a file and clear the list so that it does not get prohibitively long. OnLogTrace occurs after the message is added to TraceList but before the list is saved to a file when AutoSave is true.

Note: OnLogTrace occurs only after logging messages that meet the criteria specified by TraceFlags.
 

 

TraceList 

OnTrace 

TraceFlags 

AutoSave 

Debugging dbExpress Applications

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!