Table of Contents

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;

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.