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

TLazLoggerLogGroupList.Remove

Removes a log group from the container.

Declaration

Source position: lazloggerbase.pas line 95

protected procedure TLazLoggerLogGroupList.Remove(

  const AConfigName: string

);

procedure TLazLoggerLogGroupList.Remove(

  const AnEntry: PLazLoggerLogGroup

);

Arguments

AConfigName

  

Name of the log group removed from the container.

Arguments

AnEntry

  

Pointer to the TLazLoggerLogGroup entry to remove from the container.

Description

Remove is overloaded to allow the group to be located using a pointer to the TLazLoggerLogGroup entry, or by a specified name. Remove calls Dispose to release resource allocated for the log group, and frees it from the internal list in the container.No actions are performed if a log group cannot be located in the method.


Version 4.0 Generated 2025-05-03 Home