Data.SqlExpr.TSQLMonitor.OnLogTrace

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnLogTrace: TTraceLogEvent read FOnLogTrace write FOnLogTrace;

C++

__property TTraceLogEvent OnLogTrace = {read=FOnLogTrace, write=FOnLogTrace};

Properties

Type Visibility Source Unit Parent
event published
Data.SqlExpr.pas
Data.SqlExpr.hpp
Data.SqlExpr TSQLMonitor

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.


See Also