Unit 'daemonapp' Package
[Overview][Resource strings][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TCustomDaemon.LogMessage

Log a message to the system log.

Declaration

Source position: daemonapp.pp line 70

public procedure TCustomDaemon.LogMessage(

  const Msg: string

);

Arguments

Msg

  

Message to send to the system log.

Description

LogMessage can be used to send a message Msg to the system log. A TEventLog instance is used to actually send messages to the system log.

The message is sent with an 'error' flag (using TEventLog.Error).

Errors

None.

See also

ReportStatus

  

Report the current status to the operating system.


Documentation generated on: Nov 22 2024