2009/07/12

TIdSysLog Class - SendMsg篇(四)

這次所講的是SendLogMessage內的另一參數:Severity
Indy中是這麼解釋的:
Indicates the severity of the Syslog message.
這封訊息的嚴重性。

結構如下:

TIdSyslogSeverity = (
slEmergency,
slAlert,
slCritical,
slError,
slWarning,
slNotice,
slInformational,
slDebug
);

嚴重性由上而下,由重到低,依此類推。
TIdSysLog Class - SendMsg篇(三)一樣,提到轉為文字的函式。

資料來源:TIdSyslogSeverity enumeration

沒有留言:

張貼留言