Table of Contents

TTMSFNCCloudSentry.LogMessage Method

Logs a message entry to the supplied project.

API unit family: TMSFNCCloudSentry Declaring type: TTMSFNCCloudSentry Inherited from: TTMSFNCCustomCloudSentry

Overloads

Overload 1

Logs a message entry to the supplied project.

procedure LogMessage(AProject: TTMSFNCCloudSentryProject; AMessage: string; ALevel: TTMSFNCCloudSentryLogLevel = sllDebug; ATimeStamp: TDateTime = 0; ASource: string = ''; AStackTrace: string = '');

Parameters

Name Description
AProject Target project.
AMessage Message text.
ALevel Severity level; defaults to debug.
ATimeStamp Optional entry timestamp; 0 uses the current time.
ASource Optional source location or component.
AStackTrace Optional stack trace.

Overload 2

Logs a message entry to the project identified by its identifier.

procedure LogMessage(AProjectID: string; AMessage: string; ALevel: TTMSFNCCloudSentryLogLevel = sllDebug; ATimeStamp: TDateTime = 0; ASource: string = ''; AStackTrace: string = '');

Parameters

Name Description
AProjectID Identifier of the target project.
AMessage Message text.
ALevel Severity level; defaults to debug.
ATimeStamp Optional entry timestamp; 0 uses the current time.
ASource Optional source location or component.
AStackTrace Optional stack trace.