TTMSFNCCloudRollBar Class
Drop-in component that logs messages and exceptions to the Rollbar service, organized by project.
API unit family: TMSFNCCloudRollbar
Inherits from: TTMSFNCCustomCloudRollBar
Syntax
TTMSFNCCloudRollBar = class(TTMSFNCCustomCloudRollBar)
Remarks
Call Connect with an access token, then use LogMessage or LogException.
Properties
| Name | Description |
|---|---|
| AccountTokenRead | Account-level read token used to authenticate requests and retrieve projects. (inherited from TTMSFNCCustomCloudRollBar) |
| Projects | Collection of projects available on the connected account. (inherited from TTMSFNCCustomCloudRollBar) |
Methods
| Name | Description |
|---|---|
| Connect | Connects to the service, optionally using the supplied read access token. (inherited from TTMSFNCCustomCloudRollBar) |
| LogException | Logs an exception entry to the supplied project. (inherited from TTMSFNCCustomCloudRollBar) |
| LogMessage | Logs a message entry to the supplied project. (inherited from TTMSFNCCustomCloudRollBar) |
Events
| Name | Description |
|---|---|
| OnConnected | Occurs when the component has successfully connected to the service. (inherited from TTMSFNCCustomCloudRollBar) |
| OnGetAllItems | Occurs when all items of a project have been retrieved. (inherited from TTMSFNCCustomCloudRollBar) |
| OnGetAllOccurrences | Occurs when all occurrences of an item have been retrieved. (inherited from TTMSFNCCustomCloudRollBar) |
| OnGetAllProjects | Occurs when all projects have been retrieved. (inherited from TTMSFNCCustomCloudRollBar) |
| OnGetItems | Occurs when a page of items of a project has been retrieved. (inherited from TTMSFNCCustomCloudRollBar) |
| OnGetOccurrences | Occurs when a page of occurrences of an item has been retrieved. (inherited from TTMSFNCCustomCloudRollBar) |
| OnGetProjects | Occurs when a page of projects has been retrieved. (inherited from TTMSFNCCustomCloudRollBar) |
| OnLogException | Occurs when logging an exception to a project completes. (inherited from TTMSFNCCustomCloudRollBar) |
| OnLogMessage | Occurs when logging a message to a project completes. (inherited from TTMSFNCCustomCloudRollBar) |