Sign in Join
FPDoc Onlineexperiment

TLazLoggerLogGroupList.FindOrAdd function

Member of TLazLoggerLogGroupListprotectedIn unit LazLoggerBase

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

Declaration

pascal
function FindOrAdd(const AConfigName: string; 
 ADefaulEnabled: Boolean=False): PLazLoggerLogGroup

Arguments

AConfigName

Name of the log group to locate or create in the container.

ADefaulEnabled

Default enabled status if the log group is created.

Function result

Pointer to the TLazLoggerLogGroup instance with the specified name.

Description

Nothing more than the line above yet.

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