List Apex Log Limit Risks
apexlog_list_limit_risksFind which governor limits an Apex transaction nearly exceeded. Get CPU, heap, SOQL, DML usage worst first with percentage consumed.
Instructions
List the governor limits an Apex log transaction has nearly consumed - CPU time, heap, SOQL and SOSL queries, DML statements, and the rows each returned or wrote - worst first, with how much of each was used
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threshold | No | Report a limit once it is this percentage consumed (default: 80) | |
| logFilePath | Yes | Absolute path |