TTMSFNCCloudRollBarProject.LogException Method
Logs an exception to the project.
API unit family: TMSFNCCloudRollbar
Declaring type: TTMSFNCCloudRollBarProject
Syntax
procedure LogException(AMessage: string; AErrorType: string; ASource: string; AStackTrace: string = ''; ALevel: TTMSFNCCloudRollBarLogLevel = rllError; ATimestamp: TDateTime = 0; ADescription: string = ''; AEnvironment: string = 'production');
Parameters
| Name | Description |
|---|---|
AMessage |
Exception message. |
AErrorType |
Error type or exception class name. |
ASource |
Source location, such as a file name. |
AStackTrace |
Optional stack trace or code frame. |
ALevel |
Severity level. Defaults to rllError. |
ATimestamp |
Timestamp of the exception. When 0, the current time is used. |
ADescription |
Optional descriptive text. |
AEnvironment |
Environment name. Defaults to production. |