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 = '');
void __fastcall LogMessage(TTMSFNCCloudSentryProject* AProject, System::UnicodeString AMessage, TTMSFNCCloudSentryLogLevel ALevel = (TTMSFNCCloudSentryLogLevel)(0x0), System::TDateTime ATimeStamp = 0.000000E+00, System::UnicodeString ASource = System::UnicodeString(), System::UnicodeString AStackTrace = System::UnicodeString())/* overload */;
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 = '');
void __fastcall LogMessage(System::UnicodeString AProjectID, System::UnicodeString AMessage, TTMSFNCCloudSentryLogLevel ALevel = (TTMSFNCCloudSentryLogLevel)(0x0), System::TDateTime ATimeStamp = 0.000000E+00, System::UnicodeString ASource = System::UnicodeString(), System::UnicodeString AStackTrace = System::UnicodeString())/* overload */;
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. |