Skip to content

TCustomDaemon.LogMessage

Log a message to the system log.

Declaration

Source position: daemonapp.pp line 70

public 
procedure TCustomDaemon.LogMessage(const Msg: string);

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

Name Description
ReportStatus Report the current status to the operating system.