[Overview][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'LazLoggerBase' (#lazutils)

TLazLoggerWidgetSetWriteEvent

Specifies an event handler used to perform widgetset-specific debug log message handling.

Declaration

Source position: lazloggerbase.pas line 64

type TLazLoggerWidgetSetWriteEvent = procedure(

  Sender: TObject;

  S: string;

  var Handled: Boolean;

  Target: TLazLoggerWriteTarget;

  Data: Pointer

) of object;

Arguments

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.


Version 4.0 Generated 2025-05-03 Home