TOnLog
type
TOnLog = procedure (Sender: TObject; LogType: TLogType;
The type of the OnLog event.
Severity returns "[INFO]", "[WARNING]" or "[ERROR]".
LogType returns a TLogType constant.
InfoMsg returns a comment about this log.
Note: it is possible to retrieve the string value of the LogType parameter by invoking GetLogString (LogType).