Topic Path: Symbol Reference > Classes > TIdSysLog Class > TIdSysLog Methods > SendLogMessage Method > SendLogMessage Method (String, String, TidSyslogFacility, TIdSyslogSeverity, Boolean, Integer)
ContentsIndexHome
PreviousUpNext
TIdSysLog.SendLogMessage Method (String, String, TidSyslogFacility, TIdSyslogSeverity, Boolean, Integer)

Sends a message to the logging daemon.

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

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.