Table of Contents

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;

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.