Skip to main content
Table of Contents

TTMSFNCCloudExceptionlessProject.LogException Method

Submits an error event to the project.

API unit family: TMSFNCCloudExceptionless Declaring type: TTMSFNCCloudExceptionlessProject

Syntax

FMX.TMSFNCCloudExceptionless.hppPascalC++
procedure LogException(AMessage: string; AErrorType: string; ASource: string = ''; AStackTrace: string = ''; ALevel: TTMSFNCCloudExceptionlessLogLevel = ellError; ATimeStamp: TDateTime = 0);
void __fastcall LogException(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
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.