TTMSFNCCloudRollBarProject.LogMessage Method
Logs a message to the project.
API unit family: TMSFNCCloudRollbar
Declaring type: TTMSFNCCloudRollBarProject
Syntax
procedure LogMessage(AMessage: string; ALevel: TTMSFNCCloudRollBarLogLevel = rllInfo; ATimeStamp: TDateTime = 0; ASource: string = ''; AEnvironment: string = 'production'); virtual;
virtual void __fastcall LogMessage(System::UnicodeString AMessage, TTMSFNCCloudRollBarLogLevel ALevel = (TTMSFNCCloudRollBarLogLevel)(0x1), System::TDateTime ATimeStamp = 0.000000E+00, System::UnicodeString ASource = System::UnicodeString(), System::UnicodeString AEnvironment = L"production");
Parameters
| Name | Description |
|---|---|
AMessage |
Message text. |
ALevel |
Severity level. Defaults to rllInfo. |
ATimeStamp |
Timestamp of the message. When 0, the current time is used. |
ASource |
Optional source location. |
AEnvironment |
Environment name. Defaults to production. |