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

TLazLoggerFile.Destroy

Destructor for the class instance.

Declaration

Source position: lazlogger.pas line 172

public destructor TLazLoggerFile.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.


Version 4.0 Generated 2025-05-03 Home