[Overview][Resource strings][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'daemonapp' (#fcl)

TCustomDaemon.LogMessage

Log a message to the system log

Declaration

Source position: daemonapp.pp line 61

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 14 2015