TTMSFNCCloudLogger.LogException Method
Logs an exception entry to the given project.
API unit family: TMSFNCCloudLogger
Declaring type: TTMSFNCCloudLogger
Inherited from: TTMSFNCCustomCloudLogger
Syntax
procedure LogException(AProjectID: string; AMessage: string; AErrorType: string; ASource: string; AStackTrace: string = ''; ALevel: TTMSFNCCloudLoggerLogLevel = llError; ATimeStamp: TDateTime = 0); virtual;
virtual void __fastcall LogException(System::UnicodeString AProjectID, 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 |
|---|---|
AProjectID |
Identifier of the target project. |
AMessage |
Exception message. |
AErrorType |
Exception type or class name. |
ASource |
Source location or component that raised the exception. |
AStackTrace |
Optional stack trace. |
ALevel |
Severity level; defaults to error. |
ATimeStamp |
Optional entry timestamp; 0 uses the current time. |