Sign in Join
FPDoc Onlineexperiment

TLazLoggerFile.Destroy destructor

Member of TLazLoggerFilepublicIn unit LazLogger

Destructor for the class instance.

Declaration

pascal
destructor Destroy; override

Description

Destroy is the overridden destructor for the class instance. It ensures that all block handlers assigned to the class instance are removed from the internal list and released. The inherited destructor is called to finalize the logger class instance.

Destory frees resources allocated for the FileHandle property, the internal list used for block handlers, and the critical section used to protect access to the current nesting level.

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