Unit 'eventlog' Package
[Overview][Resource strings][Types][Classes][Index] [#fcl]

TLogMessageEvent

Callback type for custom handling of log messages.

Declaration

Source position: eventlog.pp line 29

type TLogMessageEvent = procedure(

  Sender: TObject;

  EventType: TEventType;

  const Msg: string

) of object;

Arguments

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

TEventLog.OnLogMessage

  

Implement custom handling of log messages.


Documentation generated on: Jul 24 2023