Sign in Join
FPDoc Onlineexperiment

TLazLoggerFile.OnDebugLn property

Member of TLazLoggerFilepublicIn unit LazLogger

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

Declaration

pascal
property 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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.