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

TLazLoggerLogGroupList

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements a container for TLazLoggerLogGroup instances.

Declaration

Source position: lazloggerbase.pas line 86

type TLazLoggerLogGroupList = class(TRefCountedObject)

protected

  function Add();

  

Creates and adds a new logger group in the container.

  function FindOrAdd();

  

Finds or creates a log group in the container with the specified name and enabled status.

  procedure Remove();

  

Removes a log group from the container.

public

  constructor Create;

  

Constructor for the class instance.

  destructor Destroy; override;

  

Destructor for the class instance.

  procedure Assign();

  

Stores values from the log group list in Src in the current class instance.

  function IndexOf();

  

Gets the ordinal position in the container for the specified log group.

  function Find();

  

Gets a pointer to the log group with the specified name.

  function Count;

  

Gets the number of log groups stored in the container.

  property Item []: PLazLoggerLogGroup; default; [r]

  

Provides indexed access to log group entries in the container by their ordinal position.

end;

Inheritance

TLazLoggerLogGroupList

  

Implements a container for TLazLoggerLogGroup instances.

|

TRefCountedObject

  

Implements a thread-safe reference-counted class which performs free notifications.

|

TFreeNotifyingObject

  

Base class used to implement objects which perform free notifications.

|

TObject


Version 4.0 Generated 2025-05-03 Home