Skip to main content
Table of Contents

TTMSFNCCloudSentryProject.LogMessage Method

Logs a message to this project.

API unit family: TMSFNCCloudSentry Declaring type: TTMSFNCCloudSentryProject

Syntax

FMX.TMSFNCCloudSentry.hppPascalC++
procedure LogMessage(AMessage: string; ALevel: TTMSFNCCloudSentryLogLevel = sllDebug; ATimeStamp: TDateTime = 0; ASource: string = ''; AStackTrace: string = '');
void __fastcall LogMessage(System::UnicodeString AMessage, TTMSFNCCloudSentryLogLevel ALevel = (TTMSFNCCloudSentryLogLevel)(0x0), System::TDateTime ATimeStamp = 0.000000E+00, System::UnicodeString ASource = System::UnicodeString(), System::UnicodeString AStackTrace = System::UnicodeString());

Parameters

Name Description
AMessage Message text to log.
ALevel Severity level to report; defaults to sllDebug.
ATimeStamp Optional timestamp; the current time is used when zero.
ASource Optional source location (file name).
AStackTrace Optional stack trace or function name.