Data.SqlExpr.TSQLMonitor.OnLogTrace
[–] Properties | |
---|---|
Type: event | |
Visibility: published | |
Source: Data.SqlExpr.pas Data.SqlExpr.hpp
| |
Unit: Data.SqlExpr | |
Parent: TSQLMonitor |
Delphi
property OnLogTrace: TTraceLogEvent read FOnLogTrace write FOnLogTrace;
C++
__property TTraceLogEvent OnLogTrace = {read=FOnLogTrace, write=FOnLogTrace};
Description
Occurs immediately after a new message is logged to the list.
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.