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 adding new log entries in Flow
faultMessage
→ String
Optionally log a Flow fault error message
flowName
→ String
The API name of the Flow creating the log entry. Due to Salesforce limitations, this cannot be automatically determined.
loggingLevelName
→ String
Optionally specify a logging level - the default is 'DEBUG'
message
→ String
The message to log
recordId
→ Id
Optionally relate the log entry to a particular record ID
saveLog
→ Boolean
Optionally choose to save any pending log entries
saveMethodName
→ String
Optionally choose the save method to use when 'Save Log' is true
scenario
→ String
Optionally specify the name to use for the current transaction's scenario
shouldThrowFaultMessageException
→ Boolean
Optionally rollback Database operations executed until Apex action was called and save the log entry.
tagsString
→ String
Optionally provide a comma-separated String of tags to dynamically assign to the log entry
timestamp
→ DateTime
Current system timestamp.
topics
→ List<String>
Optionally provide a comma-separated String of tags to dynamically assign to the log entry
addFlowEntries(List<FlowLogEntry> flowLogEntries)
→ List<String>
Invocable method, that can be called via flow.
Param | Description |
---|---|
flowLogEntries |
The list of FlowLogEntry instances to save |
Type
List<String>
Description
The current transaction's ID (based on Logger.getTransactionId()
)