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

TLazLoggerFile.OnDebugLn

Event handler signalled to write a full line in the log (DebugLn, DebugLnEnter or DebugLnExit).

Declaration

Source position: lazlogger.pas line 183

public property TLazLoggerFile.OnDebugLn : TLazLoggerWriteEvent
  read FOnDebugLn
  write FOnDebugLn;

Description

OnDebugLn 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 DoDebugLn method.