Skip to main content
Table of Contents

TTMSFNCCloudExceptionless.LogException Method

Submits an error event to the given project.

API unit family: TMSFNCCloudExceptionless Declaring type: TTMSFNCCloudExceptionless Inherited from: TTMSFNCCustomCloudExceptionless

Syntax

FMX.TMSFNCCloudExceptionless.hppPascalC++
procedure LogException(AProjectID: string; AMessage: string; AErrorType: string; ASource: string = ''; AStackTrace: string = ''; ALevel: TTMSFNCCloudExceptionlessLogLevel = ellError; ATimeStamp: TDateTime = 0); virtual;
virtual void __fastcall LogException(System::UnicodeString AProjectID, System::UnicodeString AMessage, System::UnicodeString AErrorType, System::UnicodeString ASource = System::UnicodeString(), System::UnicodeString AStackTrace = System::UnicodeString(), TTMSFNCCloudExceptionlessLogLevel ALevel = (TTMSFNCCloudExceptionlessLogLevel)(0x5), System::TDateTime ATimeStamp = 0.000000E+00);

Parameters

Name Description
AProjectID Identifier of the project to submit the event to.
AMessage Error message to log.
AErrorType Type name of the error.
ASource Optional source that produced the error.
AStackTrace Optional stack trace associated with the error.
ALevel Severity level of the error.
ATimeStamp Optional time of the event; the current time is used when zero.