Skip to content

TLogMessageEvent

Callback type for custom handling of log messages.

Declaration

Source position: eventlog.pp line 39

type
  TLogMessageEvent = procedure(Sender: TObject; EventType: TEventType; 
                             const Msg: string) of object;

Arguments

Name Description
Sender TEventLog instance that sent the message.
EventType Type of event being logged.
Msg Actual message to log.

Description

TLogMessageEvent is the signature of the event handler TEventLog.OnLogMessage. If you write your own log message handling method, then it must use this signature.

See also

Name Description
TEventLog.OnLogMessage Implement custom handling of log messages.