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.

procedure LogMessage(AProject: TTMSFNCCloudRollBarProject; AMessage: string; ALevel: TTMSFNCCloudRollBarLogLevel = rllInfo; ATimeStamp: TDateTime = 0; ASource: string = ''; AEnvironment: string = '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.

procedure LogMessage(AProjectID: string; AMessage: string; ALevel: TTMSFNCCloudRollBarLogLevel = rllInfo; ATimeStamp: TDateTime = 0; ASource: string = ''; AEnvironment: string = '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.