Skip to content

LogEntryArchiveController

LogEntryArchiveController Class

SUPPRESSWARNINGS

Controller class used by the LWC logEntryArchives to display LogEntryArchive__b data

Group Plugins

See LogEntryArchivePlugin

See LogEntryArchiveBuilder

Methods

getLogEntryArchives(startDate, endDate, rowLimit, minimumLoggingLevelOrdinal, messageSearchTerm)

SUPPRESSWARNINGS AURAENABLED

Returns a list of LogEntryArchive__b records, based on the current user’s record access + an optional search term for Message__c

Signature

public static List<LogEntryArchive__b> getLogEntryArchives(Date startDate, Date endDate, Integer rowLimit, Integer minimumLoggingLevelOrdinal, String messageSearchTerm)

Parameters

NameTypeDescription
startDateDateThe initial date to check for matching LogEntryArchive__b records, used to filter on LogEntryArchive__b.Timestamp__c
endDateDateThe last date to check for matching LogEntryArchive__b records, used to filter on LogEntryArchive__b.Timestamp__c
rowLimitIntegerThe max number of rows to return
minimumLoggingLevelOrdinalIntegerOptional filter for a minimal logging level ordinal, applied to the field LoggingLevelOrdinal__c
messageSearchTermStringOptional filter for text contained within the field Message__c

Return Type

List<LogEntryArchive__b>

The list of matching LogEntryArchive__b records