TTMSFNCCloudSentryProject.LogException Method
Logs an exception to this project.
API unit family: TMSFNCCloudSentry
Declaring type: TTMSFNCCloudSentryProject
Syntax
procedure LogException(AMessage: string; AErrorType: string; ASource: string; AStackTrace: string = ''; ALevel: TTMSFNCCloudSentryLogLevel = sllError; ATimestamp: TDateTime = 0; AValue: string = '');
Parameters
| Name | Description |
|---|---|
AMessage |
Message describing the exception. |
AErrorType |
Type or class name of the exception. |
ASource |
Source location (file name) where the exception occurred. |
AStackTrace |
Optional stack trace or function name. |
ALevel |
Severity level to report; defaults to sllError. |
ATimestamp |
Optional timestamp; the current time is used when zero. |
AValue |
Optional additional value associated with the exception. |