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

TLazLogger.Init

Initializes the logger class instance.

Declaration

Source position: lazloggerbase.pas line 147

public procedure TLazLogger.Init;

Description

Ensures that the EnterCriticalSection handler in the thread manager is signalled for the critical section used to protect resources in the class instance. Calls the DoInit method, and sets IsInitialized to True.

See also

TLazLogger.DoInit

  

Performs actions needed to initialize the logger class instance.

TLazLogger.IsInitialized

  

Indicates whether the Init method has already been called for the logger class instance.


Version 4.0 Generated 2025-05-03 Home