Indy 9
logSeverityToNo
See Also, Unit: IdSysLogMessage
Convert a Syslog severity enumeration value to the ordinal position of the value in the enumeration.
function logSeverityToNo(ASev: TIdSyslogSeverity): Word;
Unit
IdSysLogMessage
Parameters
ASev: TIdSyslogSeverity
Syslog severity enumeration value to be converted.
Return Value
Word - Ordinal position of the value in the enumeration.
Description
logSeverityToNo is a Word function used to convert the TIdSyslogSeverity enumeration value in ASev to a value representing the ordinal position of the value in the enumeration.

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