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

TLazLoggerFile.OnDbgOut

Event handler signalled to write a log message (DbgOut).

Declaration

Source position: lazlogger.pas line 184

public property TLazLoggerFile.OnDbgOut : TLazLoggerWriteEvent
  read FOnDbgOut
  write FOnDbgOut;

Description

OnDbgOut allows user-specified actions to be performed when writing a log message. Arguments passed to the event handler identify the log message and the logger class instance used for the operation. A Handled variable parameter is also provided that can be set to True to prevent the default action (writing to log) from being performed in the DoDbgOut method.