Skip to content

TLogType

Type of log.

Declaration

Source position: eventlog.pp line 36

type
  TLogType = (ltSystem,ltFile,ltStdOut,ltStdErr)

Values

Value Description
ltSystem Use the system log.
ltFile Write to file.
ltStdOut Write log messages to standard output.
ltStdErr Write log messages to standard error output.

Description

TLogType determines where the log messages are written. It is the type of the TEventLog.LogType property. It can have 2 values:

ltFile
This is used to write all messages to file. if no system logging mechanism exists, this is used as a fallback mechanism.
ltSystem
This is used to send all messages to the system log mechanism. Which log mechanism this is, depends on the operating system.

See also

Name Description
TEventLog.LogType Log type.