Internet Direct (Indy)
Home
PreviousUpNext
TIdSysLog.SendLogMessage Method (String, String, TidSyslogFacility, TIdSyslogSeverity, Boolean, Integer)

Sends a message to the logging daemon.

Pascal
procedure SendLogMessage(
    const AProcess: String; 
    const AText: String; 
    const AFacility: TidSyslogFacility; 
    const ASeverity: TIdSyslogSeverity; 
    const AUsePID: Boolean = False; 
    const APID: Integer = -1
); overload;
Parameters 
Description 
AProcess 
 
AText 
 
AFacility 
 
ASeverity 
 
AUsePID 
Default is False.
 
APID 
Default is -1. 

SendMessage is an overloaded procedure in TIdSysLog used to form and transmit a message destined for the logging daemon. Arguments passed to the overloaded method identify the content to be send to the logging daemon.

TIdSysLog.SendLogMessage

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.