TLazLoggerWidgetSetWriteEvent procedure type
Specifies an event handler used to perform widgetset-specific debug log message handling.
Declaration
TLazLoggerWidgetSetWriteEvent = procedure(Sender: TObject; S: string;
var Handled: Boolean;
Target: TLazLoggerWriteTarget;
Data: Pointer) of objectArguments
Sender | Object with the logger class instance (TLazLogger) for the event. |
S | Log message handled in the routine. |
Handled | True if the message was handled in the routine,
False if
the default output mechanism for the logger class is used. |
Target | Destination where the log message is written. |
Data | Optional pointer to data for the log message. |
Description
TLazLoggerWidgetSetWriteEvent is the type used for the OnWidgetSetDebugLn and OnWidgetSetDbgOut unit variables. Used primarily for the custom-drawn Android widgetset.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
