A handle to logging settings for the current ABL session.

Syntax

LOG-MANAGER [ :attribute | :method ]
attribute
An attribute of the LOG-MANAGER system handle.
method
A method of the LOG-MANAGER system handle.

Attributes

ENTRY-TYPES-LIST attribute HANDLE attribute INSTANTIATING-PROCEDURE attribute
LOG-ENTRY-TYPES attribute LOGFILE-NAME attribute LOGGING-LEVEL attribute
LOG-THRESHOLD attribute NUM-LOG-FILES attribute TYPE attribute

Methods

CLEAR-LOG( ) method CLOSE-LOG( ) method
WRITE-MESSAGE( ) method

Example

LOG-MANAGER:LOGFILE-NAME = "mylog.txt".
LOG-MANAGER:LOGGING-LEVEL = 3.
LOG-MANAGER:LOG-ENTRY-TYPES = '4gltrace'.

RUN mycode.

LOG-MANAGER:CLOSE-LOG().

PROCEDURE mycode:
  LOG-MANAGER:WRITE-MESSAGE('this is a test').
END PROCEDURE.

For more information about logging, see Troubleshoot ABL Applications.