pse.AppLogQueryContext
global with sharing class AppLogQueryContext
A structure containing the query parameters for retrieving app logs.
Properties
| fields |
List<SObjectField> |
The SObjectField tokens for the fields to return in the query.
|
| levels |
List<Integer> |
An optional list of levels to filter logs by. When specified, only logs with one of these levels are returned.
|
| category |
String |
An optional category for filtering logs. When specified, only logs with this category are returned.
|
| createdDateFrom |
Datetime |
An optional datetime threshold. When specified, only logs created on or after this datetime are returned.
|
| createdDateTo |
Datetime |
An optional datetime threshold. When specified, only logs created on or before this datetime are returned.
|
| searchValue |
String |
An optional search string. When specified, records are filtered to include only those where any of the searchFields contain this value.
|
| searchFields |
List<SObjectField> |
The fields to search against when the searchValue is provided. Each field is matched using a LIKE comparison.
|
| orderBy |
List<pse.AppLogQueryContext.OrderByClause> |
An optional list of order-by clauses applied in the given order.
|
| limitCount |
Integer |
The maximum number of records to return.
|
| afterId |
Id |
When specified, only records with an ID greater than this value are returned.
|
| beforeId |
Id |
When specified, only records with an ID less than this value are returned.
|
Methods
pse.AppLogQueryContext.OrderByClause
global with sharing class OrderByClause
Represents an ORDER BY expression with a field and sort direction.
Properties
| field |
SObjectField |
The field to order by.
|
| descending |
Boolean |
When true, results are sorted in descending order for this field. Defaults to ascending when null or false.
|
Methods
|