Skip to main content
Table of Contents

TTMSFNCCloudRollBar.LogMessage Method

Logs a message entry to the supplied project.

API unit family: TMSFNCCloudRollbar Declaring type: TTMSFNCCloudRollBar Inherited from: TTMSFNCCustomCloudRollBar

Overloads

Overload 1

Logs a message entry to the supplied project.

FMX.TMSFNCCloudRollbar.hppPascalC++
procedure LogMessage(AProject: TTMSFNCCloudRollBarProject; AMessage: string; ALevel: TTMSFNCCloudRollBarLogLevel = rllInfo; ATimeStamp: TDateTime = 0; ASource: string = ''; AEnvironment: string = 'production'); overload;
void __fastcall LogMessage(TTMSFNCCloudRollBarProject* AProject, System::UnicodeString AMessage, TTMSFNCCloudRollBarLogLevel ALevel = (TTMSFNCCloudRollBarLogLevel)(0x1), System::TDateTime ATimeStamp = 0.000000E+00, System::UnicodeString ASource = System::UnicodeString(), System::UnicodeString AEnvironment = L"production")/* overload */;

Parameters

Name Description
AProject Target project.
AMessage Message text.
ALevel Severity level; defaults to informational.
ATimeStamp Optional entry timestamp; 0 uses the current time.
ASource Optional source location or component.
AEnvironment Environment the entry is reported under; defaults to production.

Overload 2

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

FMX.TMSFNCCloudRollbar.hppPascalC++
procedure LogMessage(AProjectID: string; AMessage: string; ALevel: TTMSFNCCloudRollBarLogLevel = rllInfo; ATimeStamp: TDateTime = 0; ASource: string = ''; AEnvironment: string = 'production'); overload;
void __fastcall LogMessage(System::UnicodeString AProjectID, System::UnicodeString AMessage, TTMSFNCCloudRollBarLogLevel ALevel = (TTMSFNCCloudRollBarLogLevel)(0x1), System::TDateTime ATimeStamp = 0.000000E+00, System::UnicodeString ASource = System::UnicodeString(), System::UnicodeString AEnvironment = L"production")/* overload */;

Parameters

Name Description
AProjectID Identifier of the target project.
AMessage Message text.
ALevel Severity level; defaults to informational.
ATimeStamp Optional entry timestamp; 0 uses the current time.
ASource Optional source location or component.
AEnvironment Environment the entry is reported under; defaults to production.