The most robust observability solution for Salesforce experts. Built 100% natively on the platform, and designed to work seamlessly with Apex, Lightning Components, Flow, OmniStudio, and integrations.
Handles some common logic used by FlowLogEntry, FlowRecordLogEntry and FlowCollectionLogEntry
addEntries(List<LogEntry> flowEntries) → List<String>Adds logging entries
| Param | Description |
|---|---|
flowEntries |
The log entry instances to add. |
Type
List<String>
Description
A list of transaction ids.
Inner, wrapper class containing Log Entry information.
faultMessage → StringString containing fault message, if applicable
flowName → StringAPI name of the flow
loggingLevelName → StringString name of the entry's logging level
message → StringGeneral message to log
saveLog → BooleanBoolean used to determine if logs are saved to Salesforce
saveMethodName → StringString name of the instance of Logger.SaveMethod to use when 'Save Log' is set to true
scenario → StringOptionally specify the scenario to use for the current transaction
shouldThrowFaultMessageException → BooleanOptionally throws an exception when value is set to True (Use it on Fault connectors of your flow).
tagsString → StringComma-separated string of tags
timestamp → DateTimetimestamp of the log
topics → List<String>List of tags / topics
addToLoggerBuffer() → LogEntryEventBuilderAdds the logger to the buffer
####### Return
Type
LogEntryEventBuilder
Description
An instance of LogEntryEventBuilder