Indy 9
logFacilityToNo
See Also, Unit: IdSysLogMessage
Converts a Syslog facility enumeration value to its ordinal value in the enumeration.
function logFacilityToNo(AFac: TIdSyslogFacility): Word;
Unit
IdSysLogMessage
Parameters
AFac: TIdSyslogFacility
Syslog facility enumeration value to be converted.
Return Value
Word - Ordinal value for the Syslog facility enumeration value.
Description
logFacilityToNo is a Word function used to convert the TIdSyslogFacility facility enumeration value to a number representing its ordinal position in the enumeration.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.