Skip to main content
[ This file is autogenerated from apexdoc ]

AqLog

Event logger. Log__c custom object is used.

Group apex/core

Methods​

public static Log__c generateLogRecord(AqResult result)​

public static Log__c logResult(AqResult result)​

Write the result to a log record

public static Log__c logException(System e, String source)​

Convenience, convert exception to result and log

public static Log__c logException(System e, String source, String scopeType, String scope)​

Convenience, convert exception to result and log

public static Log__c retrieve(Id logId)​

Retrieve a log by ID

public static Log__c getMostRecent()​

Return most recent log entry, most useful for testing