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
→ String
String containing fault message, if applicable
flowName
→ String
API name of the flow
loggingLevelName
→ String
String name of the entry's logging level
message
→ String
General message to log
saveLog
→ Boolean
Boolean used to determine if logs are saved to Salesforce
saveMethodName
→ String
String name of the instance of Logger.SaveMethod to use when 'Save Log' is set to true
scenario
→ String
Optionally specify the scenario to use for the current transaction
shouldThrowFaultMessageException
→ Boolean
Optionally throws an exception when value is set to True (Use it on Fault connectors of your flow).
tagsString
→ String
Comma-separated string of tags
timestamp
→ DateTime
timestamp of the log
topics
→ List<String>
List of tags / topics
addToLoggerBuffer()
→ LogEntryEventBuilder
Adds the logger to the buffer
####### Return
Type
LogEntryEventBuilder
Description
An instance of LogEntryEventBuilder