TTMSFNCCloudLoggerProject.LogException Method
Logs an exception to this project on the active service.
API unit family: TMSFNCCloudLogger
Declaring type: TTMSFNCCloudLoggerProject
Syntax
procedure LogException(AMessage: string; AErrorType: string; ASource: string; AStackTrace: string = ''; ALevel: TTMSFNCCloudLoggerLogLevel = llError; ATimeStamp: TDateTime = 0); virtual;
virtual void __fastcall LogException(System::UnicodeString AMessage, System::UnicodeString AErrorType, System::UnicodeString ASource, System::UnicodeString AStackTrace = System::UnicodeString(), TTMSFNCCloudLoggerLogLevel ALevel = (TTMSFNCCloudLoggerLogLevel)(0x3), System::TDateTime ATimeStamp = 0.000000E+00);
Parameters
| Name | Description |
|---|---|
AMessage |
Message describing the exception. |
AErrorType |
Error type or class name of the exception. |
ASource |
Source location or component that raised the exception. |
AStackTrace |
Optional stack trace for the exception. |
ALevel |
Severity level to report; defaults to llError. |
ATimeStamp |
Optional time stamp for the exception; the current time is used when zero. |